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

From: Andi Kleen
Date: Tue Oct 23 2012 - 10:11:12 EST



... 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@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
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/