summaryrefslogtreecommitdiff
path: root/fs/iomap/Makefile
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-10-17 23:12:13 +0300
committerDarrick J. Wong <darrick.wong@oracle.com>2019-10-21 18:51:59 +0300
commit9e91c5728cab3d0aa3197d009c3d63e147914e77 (patch)
treeeb960f8585e9332eeef0ebb9f94becbb08d07eb2 /fs/iomap/Makefile
parent009d8d849d3ff59b1a23d2df2c55f2130b2ec7f2 (diff)
downloadlinux-9e91c5728cab3d0aa3197d009c3d63e147914e77.tar.xz
iomap: lift common tracing code from xfs to iomap
Lift the xfs code for tracing address space operations to the iomap layer. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/iomap/Makefile')
-rw-r--r--fs/iomap/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/fs/iomap/Makefile b/fs/iomap/Makefile
index 93cd11938bf5..eef2722d93a1 100644
--- a/fs/iomap/Makefile
+++ b/fs/iomap/Makefile
@@ -3,13 +3,15 @@
# Copyright (c) 2019 Oracle.
# All Rights Reserved.
#
-obj-$(CONFIG_FS_IOMAP) += iomap.o
-iomap-y += \
- apply.o \
- buffered-io.o \
- direct-io.o \
- fiemap.o \
- seek.o
+ccflags-y += -I $(srctree)/$(src) # needed for trace events
+
+obj-$(CONFIG_FS_IOMAP) += iomap.o
+iomap-y += trace.o \
+ apply.o \
+ buffered-io.o \
+ direct-io.o \
+ fiemap.o \
+ seek.o
iomap-$(CONFIG_SWAP) += swapfile.o