diff options
author | Namhyung Kim <[email protected]> | 2013-11-26 17:54:26 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2013-11-27 14:58:38 -0300 |
commit | ba1ddf42f3c3af111d3adee277534f73c1ef6a9b (patch) | |
tree | 67899014c8dcb48278d0f1578f71b2ca439bf0b2 /lib/string_helpers.c | |
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 <[email protected]>
Suggested-by: Frederic Weisbecker <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions