summaryrefslogtreecommitdiffstats
path: root/kernel/trace
diff options
context:
space:
mode:
authorJiaxing Wang <hello.wjx@gmail.com>2015-10-18 19:58:08 +0800
committerSteven Rostedt <rostedt@goodmis.org>2015-11-02 13:59:06 -0500
commit681a4a2f4529517422835b7395df07404dfe2278 (patch)
tree87a46044271d7c9f06884fe9c4d1da692c5cb42c /kernel/trace
parentbdb5d0f9045ed88811b6253682dff6b576dd0064 (diff)
downloadlinux-681a4a2f4529517422835b7395df07404dfe2278.tar.gz
linux-681a4a2f4529517422835b7395df07404dfe2278.tar.bz2
linux-681a4a2f4529517422835b7395df07404dfe2278.zip
tracing: Update instance_rmdir() to use tracefs_remove_recursive
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 Cc: stable@vger.kernel.org # 4.1+ Fixes: 8434dc9340cd2 ("tracing: Convert the tracing facility over to use tracefs") Signed-off-by: Jiaxing Wang <hello.wjx@gmail.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace')
-rw-r--r--kernel/trace/trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index 78022c1a125f..67873c67665e 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++) {