Messages in this thread | | | Date | Wed, 10 Nov 2010 15:17:19 +0000 | From | Matt Fleming <> | Subject | Re: [RFC PATCH 2/2] perf stat: Use event group to simulate PMI on PMI-less hardware counter |
| |
On Wed, Nov 10, 2010 at 04:08:43PM +0100, Peter Zijlstra wrote: > On Wed, 2010-11-10 at 23:06 +0800, Lin Ming wrote: > > > The proposed idea was to group with a software hrtimer-based event > > > and use the hrtimer's sample to read the hardware group sibling using > > > PERF_SAMPLE_READ. > > > > So this is usefull in perf top/record on PMI-less counter? > > Correct, Matt was implementing this.
My work in progress is here,
http://git.kernel.org/?p=linux/kernel/git/mfleming/sh-2.6.git;a=commitdiff;h=68f95e18cec7b2bc6baf3731969f94b9c51c7a08
I'll try get this submitted by the beginning of next week.
| |