lkml.org 
[lkml]   [2010]   [Nov]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.


\
 
 \ /
  Last update: 2010-11-10 16:19    [W:0.037 / U:0.560 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site