Re: [RFC PATCH 2/9] perf: Add ability to dump user regs
From: Peter Zijlstra
Date: Wed Oct 20 2010 - 12:19:56 EST
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.
--
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/