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
..
2012-10-31 12:17:49 -02:00
2009-06-06 20:33:43 +02:00
2015-02-12 17:53:00 -03:00
2015-04-29 10:38:06 -03:00
2013-07-08 17:37:25 -03:00
2012-08-13 14:55:02 -03:00
2013-10-11 12:18:11 -03:00
2009-06-06 20:33:43 +02:00
2009-06-06 20:33:43 +02:00
2009-06-06 20:33:43 +02:00
2009-06-06 20:33:43 +02:00
2009-06-06 20:33:43 +02:00
2013-03-15 13:06:05 -03:00
2013-12-09 15:21:45 -03:00
2015-07-20 17:49:51 -03:00
2015-02-27 15:52:33 -03:00
2011-12-23 17:01:03 -02:00
2015-02-25 16:13:12 -03:00
2015-03-24 13:01:54 -03:00
2013-01-31 13:07:49 -03:00
2009-06-06 20:33:43 +02:00
2015-05-05 18:12:55 -03:00
2015-05-04 13:34:47 -03:00
2015-06-19 18:27:13 -03:00
2015-04-08 11:00:16 -03:00
2013-10-09 11:24:01 -03:00
2015-01-21 13:24:31 -03:00
2015-05-08 16:26:44 -03:00
2015-08-12 13:20:28 -03:00
2015-08-12 13:20:28 -03:00
2011-12-23 17:01:03 -02:00
2014-10-15 17:39:02 -03:00
2014-10-15 17:39:02 -03:00
2015-08-10 11:58:05 -03:00
2015-06-26 12:05:04 -03:00
2014-10-15 17:39:02 -03:00
2014-07-10 00:22:54 +02:00
2015-08-06 16:39:22 -03:00
2015-06-19 18:27:13 -03:00
2015-02-25 16:13:12 -03:00
2012-05-29 22:06:30 -03:00