commit | ee6dcfa40a50fe12a3ae0fb4d2653c66c3ed6556 | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | Fri Nov 26 13:49:04 2010 +0100 |
committer | Ingo Molnar <mingo@elte.hu> | Fri Nov 26 15:00:59 2010 +0100 |
tree | e77ac01a6bf2106f7a2c22f00e43cb2960d72ba5 | |
parent | cc2067a51424dd25c10c1b1230b4222d8baec94d [diff] |
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 <eranian@google.com> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>