From: Peter Zijlstra Date: Mon, 25 May 2009 12:45:28 +0000 (+0200) Subject: perf_counter: Fix PERF_COUNTER_CONTEXT_SWITCHES for cpu counters X-Git-Tag: v2.6.31-rc1~383^2~227 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10989fb2451763fae6f42d85fa6106c8fd010cf5;p=pandora-kernel.git perf_counter: Fix PERF_COUNTER_CONTEXT_SWITCHES for cpu counters Ingo noticed that cpu counters had 0 context switches, even though there was plenty scheduling on the cpu. Signed-off-by: Peter Zijlstra Cc: Paul Mackerras Cc: Corey Ashford Cc: Arnaldo Carvalho de Melo Cc: John Kacur LKML-Reference: <20090525124600.419025548@chello.nl> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed