commit | d4944a06666054707d23e11888e480af239e5abf | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | Mon Mar 08 13:51:20 2010 +0100 |
committer | Ingo Molnar <mingo@elte.hu> | Wed Mar 10 13:22:36 2010 +0100 |
tree | 58d8e847f198c29a2a2ddee60fe862f8973794d1 | |
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>