Messages in this thread | | | Date | Wed, 17 Dec 2008 08:34:07 +0100 | From | "stephane eranian" <> | Subject | Re: [patch] Performance Counters for Linux, v4 |
| |
Paul,
On Wed, Dec 17, 2008 at 12:06 AM, Paul Mackerras <paulus@samba.org> wrote: > > I think we need a "full-time" attribute for counters and groups that > says "I need to be on the whole time", where "whole time" means > whenever the task is running, for a per-task counter or group, or > continuously for per-cpu counters/groups. > Who would want not to be the only owner of the PMU?
Especially when you know that if you don't, you may be sharing it with another user who may perturb your measurement, for instance because of heavy sampling while you are just counting. It is a tradeoff between flexibility and accuracy. Which one is more important?
| |