Re: [PATCH V4 06/24] perf tools: Add support for PERF_RECORD_AUX

From: Jiri Olsa
Date: Mon May 04 2015 - 16:10:21 EST


On Thu, Apr 30, 2015 at 05:37:29PM +0300, Adrian Hunter wrote:
> Add support for the PERF_RECORD_AUX event type.
>
> PERF_RECORD_AUX is a new kernel event that records
> when new data lands in the AUX buffer. Currently
> it is assumed that AUX data follows the same ring
> buffer conventions used by the perf events buffer,
> and consequently the AUX event is not processed
> during recording.
>
> It is processed during session processing so that
> the information in the 'flags' member is made
> available.
>
> The format of PERF_RECORD_AUX is outlined in the
> linux/perf_events.h header file. The 'flags' are
> also enumerated.
>
> Intel PT and Intel BTS use the flag named
> PERF_AUX_FLAG_TRUNCATED to determine if data has
> been lost because the buffer became full as
> perf was not able to empty it fast enough.
>
> Signed-off-by: Adrian Hunter <adrian.hunter@xxxxxxxxx>

Acked-by: Jiri Olsa <jolsa@xxxxxxxxxx>

thanks,
jirka
--
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/