aboutsummaryrefslogtreecommitdiff
path: root/fs/fuse/Makefile
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2024-07-03 10:38:42 -0400
committerMiklos Szeredi <mszeredi@redhat.com>2024-08-29 11:43:13 +0200
commit396b209e405a571ce8e06d3760ffc3e389a944f1 (patch)
treebc4e2aec5ccd83b70b14426eea4368d7e4c73e4a /fs/fuse/Makefile
parent0acad9289be33d324537d6c51988be0541b1139d (diff)
fuse: add simple request tracepoints
I've been timing various fuse operations and it's quite annoying to do with kprobes. Add two tracepoints for sending and ending fuse requests to make it easier to debug and time various operations. Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: Bernd Schubert <bschubert@ddn.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/fuse/Makefile')
-rw-r--r--fs/fuse/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/fuse/Makefile b/fs/fuse/Makefile
index 6e0228c6d0cb..ce0ff7a9007b 100644
--- a/fs/fuse/Makefile
+++ b/fs/fuse/Makefile
@@ -3,6 +3,9 @@
# Makefile for the FUSE filesystem.
#
+# Needed for trace events
+ccflags-y = -I$(src)
+
obj-$(CONFIG_FUSE_FS) += fuse.o
obj-$(CONFIG_CUSE) += cuse.o
obj-$(CONFIG_VIRTIO_FS) += virtiofs.o