From: Peter Zijlstra Date: Fri, 26 Nov 2010 12:49:04 +0000 (+0100) Subject: perf: Fix the software context switch counter X-Git-Tag: v2.6.37-rc4~12^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee6dcfa40a50fe12a3ae0fb4d2653c66c3ed6556;p=pandora-kernel.git perf: Fix the software context switch counter Stephane noticed that because the perf_sw_event() call is inside the perf_event_task_sched_out() call it won't get called unless we have a per-task counter. Reported-by: Stephane Eranian Signed-off-by: Peter Zijlstra LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed