summaryrefslogtreecommitdiff
path: root/libbcachefs/trace.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbcachefs/trace.c')
-rw-r--r--libbcachefs/trace.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/libbcachefs/trace.c b/libbcachefs/trace.c
new file mode 100644
index 00000000..13f0fc24
--- /dev/null
+++ b/libbcachefs/trace.c
@@ -0,0 +1,11 @@
+#include "bcachefs.h"
+#include "alloc_types.h"
+#include "buckets.h"
+#include "btree_types.h"
+#include "keylist.h"
+
+#include <linux/blktrace_api.h>
+#include "keylist.h"
+
+#define CREATE_TRACE_POINTS
+#include <trace/events/bcachefs.h>