projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa94c36
)
perf report: In branch stack mode use address history sorting
author
Andi Kleen
<ak@linux.intel.com>
Tue, 18 Nov 2014 01:58:54 +0000
(17:58 -0800)
committer
Arnaldo Carvalho de Melo
<acme@redhat.com>
Mon, 1 Dec 2014 23:00:31 +0000
(20:00 -0300)
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>
tools/perf/builtin-report.c
patch
|
blob
|
history
diff --git
a/tools/perf/builtin-report.c
b/tools/perf/builtin-report.c
index
fb272ff
..
3936760
100644
(file)
--- a/
tools/perf/builtin-report.c
+++ b/
tools/perf/builtin-report.c
@@
-761,6
+761,7
@@
repeat:
symbol_conf.cumulate_callchain = false;
}
if (branch_call_mode) {
+ callchain_param.key = CCKEY_ADDRESS;
callchain_param.branch_callstack = 1;
symbol_conf.use_callchain = true;
callchain_register_param(&callchain_param);