aboutsummaryrefslogtreecommitdiffstats
path: root/trace/ftrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'trace/ftrace.h')
-rw-r--r--trace/ftrace.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/trace/ftrace.h b/trace/ftrace.h
new file mode 100644
index 00000000..863e052e
--- /dev/null
+++ b/trace/ftrace.h
@@ -0,0 +1,15 @@
+#ifndef TRACE_FTRACE_H
+#define TRACE_FTRACE_H
+
+#include <stdbool.h>
+
+
+#define MAX_TRACE_STRLEN 512
+#define _STR(x) #x
+#define STR(x) _STR(x)
+
+extern int trace_marker_fd;
+
+bool ftrace_init(void);
+
+#endif /* ! TRACE_FTRACE_H */