Re: [RFC PATCH 2/2] perf stat: Use event group to simulate PMI onPMI-less hardware counter

From: Matt Fleming
Date: Wed Nov 10 2010 - 10:17:24 EST


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