summaryrefslogtreecommitdiff
path: root/include/linux/perf_event.h
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2010-03-08 13:51:20 +0100
committerIngo Molnar <mingo@elte.hu>2010-03-10 13:22:36 +0100
commitd4944a06666054707d23e11888e480af239e5abf (patch)
tree58d8e847f198c29a2a2ddee60fe862f8973794d1 /include/linux/perf_event.h
parentf3d46b2e6fa57547f9884330798792afc83f4b04 (diff)
downloadlinux-3.10-d4944a06666054707d23e11888e480af239e5abf.tar.gz
linux-3.10-d4944a06666054707d23e11888e480af239e5abf.tar.bz2
linux-3.10-d4944a06666054707d23e11888e480af239e5abf.zip
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 'include/linux/perf_event.h')
0 files changed, 0 insertions, 0 deletions