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)
commitc6be5a5cb62592d9d661899a2aa78236eb00ffa5
tree510a7b92a65a2faf7395f6ab37be44328f0186cf
parente7d0bc047548d76feee6b23f7d3d9da927189a50
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