From: Peter Zijlstra Date: Mon, 8 Mar 2010 12:51:20 +0000 (+0100) Subject: perf: Provide better condition for event rotation X-Git-Tag: v2.6.34-rc2~19^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4944a06666054707d23e11888e480af239e5abf;p=pandora-kernel.git 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 Cc: Arnaldo Carvalho de Melo Cc: paulus@samba.org Cc: eranian@google.com Cc: robert.richter@amd.com Cc: fweisbec@gmail.com LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed