diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index 78022c1a125fba71dc0e86b0205476e6d3a4e491..67873c67665e94a1105852ffd555ac4ffdc55568 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -6689,7 +6689,7 @@ static int instance_rmdir(const char *name) tracing_set_nop(tr); event_trace_del_tracer(tr); ftrace_destroy_function_files(tr); - debugfs_remove_recursive(tr->dir); + tracefs_remove_recursive(tr->dir); free_trace_buffers(tr); for (i = 0; i < tr->nr_topts; i++) {