Kan Liang
9e207ddfa2
perf report: Show call graph from reference events
...
Introduce --show-ref-call-graph for perf report to print reference
callgraph for no callgraph event.
Here is an example.
perf report --show-ref-call-graph --stdio
# To display the perf.data header info, please use
--header/--header-only options.
#
#
# Total Lost Samples: 0
#
# Samples: 5 of event 'cpu/cpu-cycles,call-graph=fp/'
# Event count (approx.): 144985
#
# Children Self Command Shared Object Symbol
# ........ ........ ....... ................ ........................................
#
72.30% 0.00% sleep [kernel.vmlinux] [k] entry_SYSCALL_64_fastpath
|
---entry_SYSCALL_64_fastpath
|
|--22.62%-- __GI___libc_nanosleep
--77.38%-- [...]
......
# Samples: 6 of event 'cpu/instructions,call-graph=no/', show reference callgraph
# Event count (approx.): 172780
#
# Children Self Command Shared Object Symbol
# ........ ........ ....... ................ ........................................
#
73.16% 0.00% sleep [kernel.vmlinux] [k] entry_SYSCALL_64_fastpath
|
---entry_SYSCALL_64_fastpath
|
|--31.44%-- __GI___libc_nanosleep
--68.56%-- [...]
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-3-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-05-08 16:11:05 -03:00
2015-08-07 10:16:56 -03:00
2015-05-24 12:17:42 -07:00
2015-06-01 08:40:26 +01:00
2015-07-05 22:59:05 -03:00
2015-06-08 16:42:07 -06:00
2015-02-13 17:15:55 +10:30
2015-08-07 10:16:59 -03:00
2015-05-27 00:24:10 -04:00
2015-08-12 13:20:28 -03:00
2015-07-02 17:11:28 -07:00
2015-07-10 14:07:03 -04:00
2015-05-09 13:36:58 +08:00
2014-07-23 10:16:38 -07:00
2015-01-15 09:41:49 -06:00
2014-12-15 23:49:22 +02:00
2015-05-12 18:11:06 -03:00
2015-06-26 15:46:08 -07:00