Re: [PATCH] perf, x86: Enabled PEBS event to be exported in a raw format

Peter Zijlstra
2012-06-28T16:13:08Z

On Fri, 2012-06-29 at 00:00 +0800, Feng Tang wrote:
> From: Andi Kleen <ak@linux.intel.com>
>
> Add support for reporting PEBS records in a raw format that can
> be then parsed by perf script.
>
> This is roughly similar to the existing AMD IBS support.
>
> This is mainly for advanced users and to experiment with
> new usages. Widespread PEBS usages are expected to get higher
> level interfaces over time, like the existing "precise ip" support.
>
> [Small fix of adding "data.raw = &raw;", thanks to Andi, with this
> patch I can test my perf script with pebs samples. - Feng]
>
> Signed-off-by: Andi Kleen <ak@linux.intel.com>
> Signed-off-by: Feng Tang <feng.tang@intel.com>

Not without a useful userspace part. Preferably not a script.