perf_events, trace: Fix perf_trace_destroy(), mutex went missing
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 21 May 2010 14:22:33 +0000 (16:22 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 31 May 2010 06:46:09 +0000 (08:46 +0200)
commit2e97942fe57864588774f173cf4cd7bb68968b76
treebf0eeda8c13a6e851ad755b7114ceaa82c51fd97
parent3771f0771154675d4a0ca780be2411f3cc357208
perf_events, trace: Fix perf_trace_destroy(), mutex went missing

Steve spotted I forgot to do the destroy under event_mutex.

Reported-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1274451913.1674.1707.camel@laptop>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace_event_perf.c