Messages in this thread | | | Date | Tue, 23 Oct 2012 15:45:05 +0200 | From | Andi Kleen <> | Subject | Re: [PATCH 05/34] perf, x86: Report PEBS event in a raw format |
| |
> I believe we can use a similar approach to PERF_SAMPLE_REGS to expose > the PEBS machine state. We need to add PERF_SAMPLE_IREGS and then > return interrupt machine registers with regular sampling and the PEBS machine > registers in precise mode. A while back I wrote a patch to do just this. Once my > PEBS-LL patch is out, I will get back to it.
But why not just use raw? That's far simpler and works fine and is already supported by perf script.
-andi
| |