aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_sysprof.c
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2009-07-07 01:54:48 -0400
committerIngo Molnar <mingo@elte.hu>2009-07-10 05:59:43 -0400
commit558df6c8f74ac4a0b9026ef85b0028280f364d96 (patch)
treee44aed98dfe7e410a87e813a226bfa57bbd67e74 /kernel/trace/trace_sysprof.c
parent0d109c8f70eab8b9f693bd5caea23012394e4876 (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