Re: [RFC PATCH 0/6] perf: Add AUX data sampling

From: Peter Zijlstra
Date: Fri Sep 23 2016 - 07:49:27 EST


On Fri, Sep 23, 2016 at 02:27:20PM +0300, Alexander Shishkin wrote:
> Hi Peter,
>
> This is an RFC, I'm not sending the tooling bits in this series,
> although they can be found here [1].
>
> This series introduces AUX data sampling for perf events, which in
> case of our instruction/branch tracing PMUs like Intel PT, BTS, CS
> ETM means execution flow history leading up to a perf event's
> overflow.

This fails to explain _WHY_ this is a good thing to have. What kind of
analysis does this enable, and is that fully implemented in [1] (I
didn't look).

Please provide a bit more justification.