diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2009-07-07 01:54:48 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-07-10 05:59:43 -0400 |
commit | 558df6c8f74ac4a0b9026ef85b0028280f364d96 (patch) | |
tree | e44aed98dfe7e410a87e813a226bfa57bbd67e74 /kernel/trace/trace_sysprof.c | |
parent | 0d109c8f70eab8b9f693bd5caea23012394e4876 (diff) |
ksym_tracer: Fix memory leak
- When remove a filter, we leak entry->ksym_hbp->info.name.
- With CONFIG_FTRAC_SELFTEST enabled, we leak ->info.name:
# echo ksym_tracer > current_tracer
# echo 'ksym_selftest_dummy:rw-' > ksym_trace_filter
# echo nop > current_tracer
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: "K.Prasad" <prasad@linux.vnet.ibm.com>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Steven Rostedt <rostedt@goodmis.org>
LKML-Reference: <4A52E328.8010200@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace_sysprof.c')
0 files changed, 0 insertions, 0 deletions