[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <18952.36878.942836.803265@cargo.ozlabs.ibm.com>
Date: Tue, 12 May 2009 06:52:30 +1000
From: Paul Mackerras <paulus@...ba.org>
To: Corey Ashford <cjashfor@...ux.vnet.ibm.com>
Cc: Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Ingo Molnar <mingo@...e.hu>, linux-kernel@...r.kernel.org,
Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists