From: Andi Kleen Date: Tue, 18 Nov 2014 01:58:54 +0000 (-0800) Subject: perf report: In branch stack mode use address history sorting X-Git-Tag: firefly_0821_release~176^2~2759^2^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=09a6a1b07e5a579ef770d9728f5b158408c73c23;p=firefly-linux-kernel-4.4.55.git 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 Link: http://lkml.kernel.org/r/1416275935-20971-1-git-send-email-andi@firstfloor.org Signed-off-by: Arnaldo Carvalho de Melo --- 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: 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);