sched, perf: Use a single callback into the scheduler
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Tue, 8 May 2012 16:56:04 +0000 (18:56 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 9 May 2012 13:23:17 +0000 (15:23 +0200)
commitcb04ff9ac424d0e689d9b612e9f73cb443ab4b7e
tree7335f4ca82dc0366ffbf9dc8de5396259213435a
parent8b1e13638d465863572c8207a5cfceeef0cf0441
sched, perf: Use a single callback into the scheduler

We can easily use a single callback for both sched-in and sched-out. This
reduces the code footprint in the scheduler path as well as removes
the PMU black spot otherwise present between the out and in callback.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/n/tip-o56ajxp1edwqg6x9d31wb805@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/perf_event.h
kernel/events/core.c
kernel/sched/core.c