diff options
author | Namhyung Kim <namhyung@kernel.org> | 2013-11-26 03:54:26 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-11-27 12:58:38 -0500 |
commit | ba1ddf42f3c3af111d3adee277534f73c1ef6a9b (patch) | |
tree | 67899014c8dcb48278d0f1578f71b2ca439bf0b2 /tools/perf/Documentation | |
parent | ad7ebb9a48f59bad2714b64725653a73d78b686e (diff) |
perf script: Print mmap[2] events also
If --show-mmap-events option is given, also print internal MMAP and
MMAP2 events. It would be helpful for debugging.
$ perf script --show-mmap-events
...
sleep 9486 [009] 3350640.335531: PERF_RECORD_MMAP 9486/9486: [0x400000(0x6000) @ 0]: x /usr/bin/sleep
sleep 9486 [009] 3350640.335542: PERF_RECORD_MMAP 9486/9486: [0x3153a00000(0x223000) @ 0]: x /usr/lib64/ld-2.17.so
sleep 9486 [009] 3350640.335553: PERF_RECORD_MMAP 9486/9486: [0x7fff8b5fe000(0x2000) @ 0x7fff8b5fe000]: x [vdso]
sleep 9486 [009] 3350640.335643: PERF_RECORD_MMAP 9486/9486: [0x3153e00000(0x3c0000) @ 0]: x /usr/lib64/libc-2.17.so
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Suggested-by: Frederic Weisbecker <fweisbec@gmail.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1385456066-26592-1-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/Documentation')
-rw-r--r-- | tools/perf/Documentation/perf-script.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/Documentation/perf-script.txt b/tools/perf/Documentation/perf-script.txt index 67af9b77ea78..cfdbb1e045b5 100644 --- a/tools/perf/Documentation/perf-script.txt +++ b/tools/perf/Documentation/perf-script.txt | |||
@@ -206,6 +206,9 @@ OPTIONS | |||
206 | --show-task-events | 206 | --show-task-events |
207 | Display task related events (e.g. FORK, COMM, EXIT). | 207 | Display task related events (e.g. FORK, COMM, EXIT). |
208 | 208 | ||
209 | --show-mmap-events | ||
210 | Display mmap related events (e.g. MMAP, MMAP2). | ||
211 | |||
209 | SEE ALSO | 212 | SEE ALSO |
210 | -------- | 213 | -------- |
211 | linkperf:perf-record[1], linkperf:perf-script-perl[1], | 214 | linkperf:perf-record[1], linkperf:perf-script-perl[1], |