diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2010-03-08 07:51:20 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-03-10 07:22:36 -0500 |
commit | d4944a06666054707d23e11888e480af239e5abf (patch) | |
tree | 58d8e847f198c29a2a2ddee60fe862f8973794d1 /arch/x86/kernel/cpu/perf_event.c | |
parent | f3d46b2e6fa57547f9884330798792afc83f4b04 (diff) |
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 'arch/x86/kernel/cpu/perf_event.c')
0 files changed, 0 insertions, 0 deletions