summaryrefslogtreecommitdiff
path: root/fs/bcachefs/trace.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-08-10 19:42:55 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-23 00:09:38 +0300
commit9f96568c0ab983fbb0f6eefa36ad799a72bc9358 (patch)
tree5ac34f107f137fb676efa7eda263c75442ead9c0 /fs/bcachefs/trace.c
parentc7be3cb546e3bb2704008506bd6c50ad5ea02441 (diff)
downloadlinux-9f96568c0ab983fbb0f6eefa36ad799a72bc9358.tar.xz
bcachefs: Tracepoint improvements
Our types are exported to the tracepoint code, so it's not necessary to break things out individually when passing them to tracepoints - we can also call other functions from TP_fast_assign(). Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/trace.c')
-rw-r--r--fs/bcachefs/trace.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/bcachefs/trace.c b/fs/bcachefs/trace.c
index eff1e3dfbcea..5c1d724cbb55 100644
--- a/fs/bcachefs/trace.c
+++ b/fs/bcachefs/trace.c
@@ -2,8 +2,10 @@
#include "bcachefs.h"
#include "alloc_types.h"
#include "buckets.h"
-#include "btree_types.h"
+#include "btree_iter.h"
+#include "btree_locking.h"
#include "keylist.h"
+#include "opts.h"
#include "six.h"
#include <linux/blktrace_api.h>