Message ID | 20210330005248.979418078@goodmis.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 78babbffe37bfd1461090e7be5901103f11f2048 |
Headers | show |
Series | libtracefs: Add tracefs_function_filter() | expand |
diff --git a/include/tracefs-local.h b/include/tracefs-local.h index 187870e7c491..9c18218cd916 100644 --- a/include/tracefs-local.h +++ b/include/tracefs-local.h @@ -14,6 +14,12 @@ #define BUILD_BUG_ON(cond) \ do { if (!(1/!(cond))) { } } while (0) +struct tracefs_instance { + char *trace_dir; + char *name; + int flags; +}; + /* Can be overridden */ void warning(const char *fmt, ...); diff --git a/src/tracefs-instance.c b/src/tracefs-instance.c index 0df313c8e8c6..a02c839f2079 100644 --- a/src/tracefs-instance.c +++ b/src/tracefs-instance.c @@ -19,11 +19,6 @@ #include "tracefs-local.h" #define FLAG_INSTANCE_NEWLY_CREATED (1 << 0) -struct tracefs_instance { - char *trace_dir; - char *name; - int flags; -}; /** * instance_alloc - allocate a new ftrace instance