diff options
Diffstat (limited to 'kernel/perf_event.c')
-rw-r--r-- | kernel/perf_event.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/perf_event.c b/kernel/perf_event.c index f365dd8ef8b0..eac7e3364335 100644 --- a/kernel/perf_event.c +++ b/kernel/perf_event.c | |||
@@ -1287,8 +1287,6 @@ void __perf_event_task_sched_out(struct task_struct *task, | |||
1287 | { | 1287 | { |
1288 | int ctxn; | 1288 | int ctxn; |
1289 | 1289 | ||
1290 | perf_sw_event(PERF_COUNT_SW_CONTEXT_SWITCHES, 1, 1, NULL, 0); | ||
1291 | |||
1292 | for_each_task_context_nr(ctxn) | 1290 | for_each_task_context_nr(ctxn) |
1293 | perf_event_context_sched_out(task, ctxn, next); | 1291 | perf_event_context_sched_out(task, ctxn, next); |
1294 | } | 1292 | } |