]> git.baikalelectronics.ru Git - kernel.git/commit
perf: Find task before event alloc
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Thu, 14 Oct 2010 14:59:46 +0000 (16:59 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 18 Oct 2010 17:58:54 +0000 (19:58 +0200)
commitabcdaa43925a519b6c7b090726e57f62bb7cdec9
tree510a7b92a65a2faf7395f6ab37be44328f0186cf
parent63db0321d8ada3404db3e5df464222c553d59806
perf: Find task before event alloc

So that we can pass the task pointer to the event allocation, so that
we can use task associated data during event initialization.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20101014203625.340789919@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/perf_event.c