diff options
author | 2010-10-14 16:54:51 +0200 | |
---|---|---|
committer | 2010-10-18 19:58:52 +0200 | |
commit | e7d0bc047548d76feee6b23f7d3d9da927189a50 (patch) | |
tree | be1cd1fc48f6458a2efa4d0bfac53808938208dc /lib/dynamic_debug.c | |
parent | perf: Fix group moving (diff) | |
download | linux-dev-e7d0bc047548d76feee6b23f7d3d9da927189a50.tar.xz linux-dev-e7d0bc047548d76feee6b23f7d3d9da927189a50.zip |
perf: Fix task refcount bugs
Currently it looks like find_lively_task_by_vpid() takes a task ref
and relies on find_get_context() to drop it.
The problem is that perf_event_create_kernel_counter() shouldn't be
dropping task refs.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Acked-by: Matt Helsley <matthltc@us.ibm.com>
LKML-Reference: <20101014203625.278436085@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions