OSDN Git Service

perf trace: Allow dumping a BPF map after setting up BPF events
[uclinux-h8/linux.git] / tools / perf / Documentation / perf-trace.txt
index 631e687..fc6e432 100644 (file)
@@ -210,6 +210,14 @@ the thread executes on the designated CPUs. Default is to monitor all CPUs.
        may happen, for instance, when a thread gets migrated to a different CPU
        while processing a syscall.
 
+--map-dump::
+       Dump BPF maps setup by events passed via -e, for instance the augmented_raw_syscalls
+       living in tools/perf/examples/bpf/augmented_raw_syscalls.c. For now this
+       dumps just boolean map values and integer keys, in time this will print in hex
+       by default and use BTF when available, as well as use functions to do pretty
+       printing using the existing 'perf trace' syscall arg beautifiers to map integer
+       arguments to strings (pid to comm, syscall id to syscall name, etc).
+
 
 PAGEFAULTS
 ----------