diff options
author | Andi Kleen <ak@linux.intel.com> | 2014-11-17 20:58:54 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2014-12-01 18:00:31 -0500 |
commit | 09a6a1b07e5a579ef770d9728f5b158408c73c23 (patch) | |
tree | 1076abb283310578da29e08b0eda281388ce22ea /tools | |
parent | fa94c36c29ed8bb4749b5fd7ea51a593f673dcef (diff) |
perf report: In branch stack mode use address history sorting
Enable CCKEY_ADDRESS address history sorting with --branch-history.
This makes get_srcline display the source lines correctly, otherwise all
history entries for a function a hunked into one.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/1416275935-20971-1-git-send-email-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/builtin-report.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c index fb272ff435c9..39367609c707 100644 --- a/tools/perf/builtin-report.c +++ b/tools/perf/builtin-report.c | |||
@@ -761,6 +761,7 @@ repeat: | |||
761 | symbol_conf.cumulate_callchain = false; | 761 | symbol_conf.cumulate_callchain = false; |
762 | } | 762 | } |
763 | if (branch_call_mode) { | 763 | if (branch_call_mode) { |
764 | callchain_param.key = CCKEY_ADDRESS; | ||
764 | callchain_param.branch_callstack = 1; | 765 | callchain_param.branch_callstack = 1; |
765 | symbol_conf.use_callchain = true; | 766 | symbol_conf.use_callchain = true; |
766 | callchain_register_param(&callchain_param); | 767 | callchain_register_param(&callchain_param); |