Re: [RFC PATCH 2/9] perf: Add ability to dump user regs

Peter Zijlstra
2010-10-20T16:19:52Z

On Wed, 2010-10-20 at 11:24 +0200, Stephane Eranian wrote:
>
> The alternative would be to invent yet another generic abstraction
> to sample cache misses. Note that PEBS cache miss sampling
> cannot be attached to an existing generic cache miss event. It
> uses a dedicated event which does not count all cache misses.

Yeah, the IBS trainwreck comes to mind, I wish the PMU designers
wouldn't create such a mess.

I really dislike using PERF_SAMPLE_RAW for things like this, because it
fully arch dependent.