diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2010-03-08 13:51:20 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-03-10 13:22:36 +0100 |
commit | d4944a06666054707d23e11888e480af239e5abf (patch) | |
tree | 58d8e847f198c29a2a2ddee60fe862f8973794d1 /kernel/slow-work.h | |
parent | f3d46b2e6fa57547f9884330798792afc83f4b04 (diff) | |
download | op-kernel-dev-d4944a06666054707d23e11888e480af239e5abf.zip op-kernel-dev-d4944a06666054707d23e11888e480af239e5abf.tar.gz |
perf: Provide better condition for event rotation
Try to avoid useless rotation and PMU disables.
[ Could be improved by keeping a nr_runnable count to better account
for the < PERF_STAT_INACTIVE counters ]
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arnaldo Carvalho de Melo <acme@infradead.org>
Cc: paulus@samba.org
Cc: eranian@google.com
Cc: robert.richter@amd.com
Cc: fweisbec@gmail.com
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/slow-work.h')
0 files changed, 0 insertions, 0 deletions