From: Stephane Eranian Date: Mon, 3 Jan 2011 16:20:01 +0000 (+0200) Subject: perf_events: Move code around to prepare for cgroup X-Git-Tag: v2.6.38-rc1~417^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b3fcf178deefd7b64154c2c0760a2c63df0b74f;p=pandora-kernel.git perf_events: Move code around to prepare for cgroup In particular this patch move perf_event_exit_task() before cgroup_exit() to allow for cgroup support. The cgroup_exit() function detaches the cgroups attached to a task. Other movements include hoisting some definitions and inlines at the top of perf_event.c Signed-off-by: Stephane Eranian Signed-off-by: Peter Zijlstra LKML-Reference: <4d22058b.cdace30a.4657.ffff95b1@mx.google.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed