Re: [PATCH 2/8] perf, tools: Add --branch-history option to report

From: Andi Kleen
Date: Mon Nov 17 2014 - 21:01:53 EST

On Mon, Nov 17, 2014 at 03:31:57PM +0900, Namhyung Kim wrote:
> On Wed, 12 Nov 2014 01:05:05 +0100, Andi Kleen wrote:
> >> And please also add a new CCKEY_SRCLINE if you print srcline with the
> >> callchains so that users can give "-g srcline" if they want (regardless
> >> of the branch history feature).
> >
> > That would be largely identical to CCKEY_ADDRESS
> > except for the case of two calls to the same function from
> > the same line. Probably not worth adding?
> For sorting, yes, it'd be almost identical. But what I'm saying is for
> printing - IOW print callchain entries with symbol and srcline (for
> normal perf report too).

But I thought the key is only for sorting?

I already added an option to print the src line and it should
work for normal perf report.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at