aboutsummaryrefslogtreecommitdiffstats
path: root/include/trace/events
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-10-15 12:24:04 +0200
committerIngo Molnar <mingo@elte.hu>2009-10-15 12:41:56 +0200
commita66abe7fbf7805a1a02f241bd5283265ff6706ec (patch)
tree7b39b4339f8b5caf56c4f76c485f07b23861999b /include/trace/events
parentc171b552a7d316c7e1c3ad6f70a30178dd53e14c (diff)
downloadkernel_samsung_smdk4412-a66abe7fbf7805a1a02f241bd5283265ff6706ec.zip
kernel_samsung_smdk4412-a66abe7fbf7805a1a02f241bd5283265ff6706ec.tar.gz
kernel_samsung_smdk4412-a66abe7fbf7805a1a02f241bd5283265ff6706ec.tar.bz2
tracing/events: Fix locking imbalance in the filter code
Américo Wang noticed that we have a locking imbalance in the error paths of ftrace_profile_set_filter(), causing potential leakage of event_mutex. Also clean up other error codepaths related to event_mutex while at it. Plus fix an initialized variable in the subsystem filter code. Reported-by: Américo Wang <xiyou.wangcong@gmail.com> Cc: Li Zefan <lizf@cn.fujitsu.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Tom Zanussi <tzanussi@gmail.com> LKML-Reference: <2375c9f90910150247u5ccb8e2at58c764e385ffa490@mail.gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/trace/events')
0 files changed, 0 insertions, 0 deletions