diff options
Diffstat (limited to 'kernel/trace/trace.c')
-rw-r--r-- | kernel/trace/trace.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index 26cfff38e2ab..16f7038d1f4d 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c | |||
@@ -6349,8 +6349,7 @@ static int instance_delete(const char *name) | |||
6349 | event_trace_del_tracer(tr); | 6349 | event_trace_del_tracer(tr); |
6350 | ftrace_destroy_function_files(tr); | 6350 | ftrace_destroy_function_files(tr); |
6351 | debugfs_remove_recursive(tr->dir); | 6351 | debugfs_remove_recursive(tr->dir); |
6352 | free_percpu(tr->trace_buffer.data); | 6352 | free_trace_buffers(tr); |
6353 | ring_buffer_free(tr->trace_buffer.buffer); | ||
6354 | 6353 | ||
6355 | kfree(tr->name); | 6354 | kfree(tr->name); |
6356 | kfree(tr); | 6355 | kfree(tr); |