Re: [PATCH 2/3] perf: Add support for extra parameters for raw events

From: Stephane Eranian
Date: Fri Nov 12 2010 - 10:00:22 EST


On Fri, Nov 12, 2010 at 2:30 PM, Frederic Weisbecker <fweisbec@xxxxxxxxx> wrote:
> On Fri, Nov 12, 2010 at 02:00:43PM +0100, Stephane Eranian wrote:
>> On Fri, Nov 12, 2010 at 12:36 PM, Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> wrote:
>> > On Fri, 2010-11-12 at 11:49 +0100, Stephane Eranian wrote:
>> >> The difficulty with PEBS-LL (load latency) is not so much the encoding of the
>> >> latency. It is more how to expose the data back to user. You get a full PEBS
>> >> record for each miss. So you get the PEBS machine state + data addr, miss
>> >> latency, and data source (where did the line come from). We have already
>> >> discussed how to expose machine state in general. I'll work on a patch for this.
>> >
>> > Frederic was working on this PERF_SAMPLE_REGS stuff as well for his copy
>> > the stack top and let dwarfs go wild at it patches.
>> >
>> Ok, I'll talk to him again about this then.
>
>
> Would you like me to respin this isolated chunk of my dwarf cfi unwinding patchset?
> So that we can discuss the ABI.
>
I'd like to see your proposed kernel API to expose machine state.

> Thanks.
>
>
--
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/