]> git.baikalelectronics.ru Git - kernel.git/commit
perf, cgroups: Fix up for new API
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Mon, 30 May 2011 14:48:06 +0000 (16:48 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 31 May 2011 12:20:25 +0000 (14:20 +0200)
commit5a624a4b47ed030bda1cbe96ead492c8244bdee0
tree3a07851e63f5eb9a233286c6683f7e8c7d9d61a2
parent198233067d15bc88603d4279b950468053456877
perf, cgroups: Fix up for new API

Ben changed the cgroup API in commit 0631a51c0f3 (cgroups: add
per-thread subsystem callbacks) in an incompatible way, but
forgot to convert the perf cgroup bits.

Avoid compile warnings and runtime splats and convert perf too ;-)

Acked-by: Ben Blum <bblum@andrew.cmu.edu>
Cc: Stephane Eranian <eranian@google.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1306767651.1200.2990.camel@twins
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/events/core.c