Re: [PATCH V7 00/17] perf, x86: Haswell LBR call stack support

From: Peter Zijlstra
Date: Wed Nov 05 2014 - 11:27:36 EST


On Wed, Nov 05, 2014 at 04:22:09PM +0000, Liang, Kan wrote:
>
> >>
> >
> > So if I take all except 11,13,16,17 but instead do something like the below,
> > everything will work just fine, right?
> >
> > Or am I missing something?
> >
>
> Yes, it should work. Then LBR callstack will rely on user to enable it.
> But user never get the LBR callstack data if it's available.
> I'm not sure why you do that?

Uhm what? If you request PERF_SAMPLE_BRANCH_CALL_STACK the user will get
the data through the regular PERF_SAMPLE_BRANCH_STACK output of
PERF_RECORD_SAMPLE, right?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/