Kan Liang
f9db0d0f1b
perf callchain: Allow disabling call graphs per event
This patch introduce "call-graph=no" to disable per-event callgraph.
Here is an example.
perf record -e 'cpu/cpu-cycles,call-graph=fp/,cpu/instructions,call-graph=no/' sleep 1
perf report --stdio
# To display the perf.data header info, please use
--header/--header-only options.
#
#
# Total Lost Samples: 0
#
# Samples: 6 of event 'cpu/cpu-cycles,call-graph=fp/'
# Event count (approx.): 774218
#
# Children Self Command Shared Object Symbol
# ........ ........ ....... ................ ........................................
#
61.94% 0.00% sleep [kernel.vmlinux] [k] entry_SYSCALL_64_fastpath
|
---entry_SYSCALL_64_fastpath
|
|--97.30%-- __brk
|
--2.70%-- mmap64
_dl_check_map_versions
_dl_check_all_versions
61.94% 0.00% sleep [kernel.vmlinux] [k] perf_event_mmap
|
---perf_event_mmap
|
|--97.30%-- do_brk
| sys_brk
| entry_SYSCALL_64_fastpath
| __brk
|
--2.70%-- mmap_region
do_mmap_pgoff
vm_mmap_pgoff
sys_mmap_pgoff
sys_mmap
entry_SYSCALL_64_fastpath
mmap64
_dl_check_map_versions
_dl_check_all_versions
......
# Samples: 6 of event 'cpu/instructions,call-graph=no/'
# Event count (approx.): 359692
#
# Children Self Command Shared Object Symbol
# ........ ........ ....... ................ .................................
#
89.03% 0.00% sleep [unknown] [.] 0xffff6598ffff6598
89.03% 0.00% sleep ld-2.17.so [.] _dl_resolve_conflicts
89.03% 0.00% sleep [kernel.vmlinux] [k] page_fault
Signed-off-by: Kan Liang <kan.liang@intel.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1439289050-40510-2-git-send-email-kan.liang@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2015-08-12 13:20:28 -03:00
..
2015-08-06 16:45:05 -03:00
2015-07-20 17:49:51 -03:00
2015-07-31 09:59:28 +02:00
2015-08-12 13:20:28 -03:00
2015-07-29 10:51:45 -03:00
2015-02-12 11:49:53 -03:00
2015-08-12 13:20:28 -03:00
2015-07-20 15:16:32 -03:00
2015-08-12 12:46:55 -03:00
2015-08-12 13:20:28 -03:00
2015-06-17 12:44:55 -03:00
2015-07-20 15:16:32 -03:00
2015-08-12 13:20:28 -03:00
2015-07-20 17:49:51 -03:00
2015-07-20 17:49:50 -03:00
2015-07-20 17:49:50 -03:00
2015-04-02 13:18:52 -03:00
2015-08-12 13:20:28 -03:00
2015-04-02 13:18:45 -03:00
2015-03-19 13:49:39 -03:00
2015-07-23 22:51:13 -03:00
2015-07-01 17:53:49 -03:00
2015-07-01 17:53:49 -03:00
2015-02-27 15:52:24 -03:00
2015-05-08 16:19:27 -03:00
2015-07-01 17:53:49 -03:00
2015-07-06 08:58:36 -03:00
2015-08-05 16:42:11 -03:00
2015-08-10 11:58:05 -03:00
2015-05-27 12:21:45 -03:00
2015-08-10 11:58:05 -03:00
2015-08-08 14:16:49 -03:00
2015-05-18 10:17:33 -03:00
2015-08-06 16:39:22 -03:00
2015-08-12 10:27:03 -03:00
2015-02-25 12:42:25 -03:00
2015-02-25 12:42:25 -03:00
2014-03-18 18:17:06 -03:00
2015-06-22 11:27:09 -03:00
2015-07-21 07:58:06 +02:00
2015-08-07 10:57:24 -03:00
2012-09-17 13:10:42 -03:00
2015-03-19 13:53:27 -03:00
2014-10-29 10:32:48 -02:00
2015-05-08 16:05:08 -03:00
2015-08-06 16:48:27 -03:00
2015-02-27 15:52:28 -03:00
2015-07-29 16:18:45 -03:00