Commit ec830c19 authored by Jiaxing Wang's avatar Jiaxing Wang Committed by Kamal Mostafa

tracing: Update instance_rmdir() to use tracefs_remove_recursive

commit 681a4a2f upstream.

Update instancd_rmdir to use tracefs_remove_recursive instead of
debugfs_remove_recursive.This was left in the transition from debugfs
to tracefs.

Link: http://lkml.kernel.org/r/1445169490-18315-2-git-send-email-hello.wjx@gmail.com

Fixes: 8434dc93 ("tracing: Convert the tracing facility over to use tracefs")
Signed-off-by: default avatarJiaxing Wang <hello.wjx@gmail.com>
Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
Signed-off-by: default avatarKamal Mostafa <kamal@canonical.com>
parent 17377e57
......@@ -6602,7 +6602,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);
kfree(tr->name);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment