diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2015-01-20 20:13:40 +0300 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2015-02-03 20:48:41 +0300 |
commit | 8434dc9340cd2e117fc944cf7526263bf490a52a (patch) | |
tree | 189d9f437a1b0c01d32bff18afdc4f7cb8093a00 /kernel/trace/trace_probe.h | |
parent | 4282d60689d4f21b40692029080440cc58e8a17d (diff) | |
download | linux-8434dc9340cd2e117fc944cf7526263bf490a52a.tar.xz |
tracing: Convert the tracing facility over to use tracefs
debugfs was fine for the tracing facility as a quick way to get
an interface. Now that tracing has matured, it should separate itself
from debugfs such that it can be mounted separately without needing
to mount all of debugfs with it. That is, users resist using tracing
because it requires mounting debugfs. Having tracing have its own file
system lets users get the features of tracing without needing to bring
in the rest of the kernel's debug infrastructure.
Another reason for tracefs is that debubfs does not support mkdir.
Currently, to create instances, one does a mkdir in the tracing/instance
directory. This is implemented via a hack that forces debugfs to do
something it is not intended on doing. By converting over to tracefs, this
hack can be removed and mkdir can be properly implemented. This patch does
not address this yet, but it lays the ground work for that to be done.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_probe.h')
-rw-r--r-- | kernel/trace/trace_probe.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace_probe.h b/kernel/trace/trace_probe.h index 4f815fbce16d..19aff635841a 100644 --- a/kernel/trace/trace_probe.h +++ b/kernel/trace/trace_probe.h @@ -25,7 +25,7 @@ #include <linux/seq_file.h> #include <linux/slab.h> #include <linux/smp.h> -#include <linux/debugfs.h> +#include <linux/tracefs.h> #include <linux/types.h> #include <linux/string.h> #include <linux/ctype.h> |