mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/2] perf, tools: In branch stack mode use address history sorting
@ 2014-11-18  1:58 Andi Kleen
  2014-11-18  1:58 ` [PATCH 2/2] perf, tools: Remove use of BUILD_BUG_ON Andi Kleen
  2014-12-08  6:53 ` [tip:perf/core] perf report: In branch stack mode use address history sorting tip-bot for Andi Kleen
  0 siblings, 2 replies; 3+ messages in thread
From: Andi Kleen @ 2014-11-18  1:58 UTC (permalink / raw)
  To: acme; +Cc: linux-kernel, Andi Kleen

From: Andi Kleen <ak@linux.intel.com>

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>
---
 tools/perf/builtin-report.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c
index fb272ff..3936760 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);
-- 
1.9.3


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-12-08  6:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-18  1:58 [PATCH 1/2] perf, tools: In branch stack mode use address history sorting Andi Kleen
2014-11-18  1:58 ` [PATCH 2/2] perf, tools: Remove use of BUILD_BUG_ON Andi Kleen
2014-12-08  6:53 ` [tip:perf/core] perf report: In branch stack mode use address history sorting tip-bot for Andi Kleen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®