lkml.org 
[lkml]   [2009]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/5] perf_counter: rework ioctl()s
Corey Ashford writes:

> One problem that I was seeing was that disabling only the group leader didn't
> keep the group member hardware counters from continuing to run and generate
> overflows, and causing sample records to be put in the mmap buffer.

That's very strange. Disabling the group leader should have taken the
whole group off the PMU and so none of the members should have been
able to generate any more overflows or sample records. What machines
did you see this on?

> Was this the intention?

Not at all.

> For PAPI, we really need to be able to disable, at least, the sample records
> from going into the mmap buffers. Even better would be to stop the hardware
> counters from counting while disabled.

Disabling the leader should be doing all that.

Paul.


\
 
 \ /
  Last update: 2009-05-11 22:55    [W:0.056 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site