Re: [PATCH 05/34] perf, x86: Report PEBS event in a raw format

Andi Kleen
2012-10-23T14:11:24Z

... NIH snipped ...

> If you do this inside perf, you have access to more infrastructure
> code, e.g., dwarf.
> For instance, I am interested in getting a value profiling mode. That
> means sampling
> the values of function arguments. That needs some dwarf support and the PEBS
> machine state. With that you can produce a per function histogram of
> the 6 integer
> register args. You can certainly build anything in Python, but I don't
> see the point
> of this. Especially given that there is already some infrastructure
> (and abstraction)
> provided by Jiri's patch for PERF_SAMPLE_REGS.

Ok so please post some code for this.

I'm sure all your unwritten code is far greater than our written code
posted on mailing lists, but it's not a very useful discussion this way.

-Andi

--
ak@linux.intel.com -- Speaking for myself only.