summaryrefslogtreecommitdiffstats
path: root/fs/zonefs/Makefile
diff options
context:
space:
mode:
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>2021-01-26 21:21:15 +0100
committerDamien Le Moal <damien.lemoal@wdc.com>2021-02-16 01:59:54 +0100
commit62ab1aadcccd037a7ced4ed99b4d46d2b4190183 (patch)
treef6423157260b368f67d29eb566263bd2f5565691 /fs/zonefs/Makefile
parentLinux 5.11-rc5 (diff)
downloadlinux-62ab1aadcccd037a7ced4ed99b4d46d2b4190183.tar.xz
linux-62ab1aadcccd037a7ced4ed99b4d46d2b4190183.zip
zonefs: add tracepoints for file operations
Add tracepoints for file I/O operations to aid in debugging of I/O errors with zonefs. The added tracepoints are in: - zonefs_zone_mgmt() for tracing zone management operations - zonefs_iomap_begin() for tracing regular file I/O - zonefs_file_dio_append() for tracing zone-append operations Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Diffstat (limited to 'fs/zonefs/Makefile')
-rw-r--r--fs/zonefs/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/zonefs/Makefile b/fs/zonefs/Makefile
index 75a380aa1ae1..33c1a4f1132e 100644
--- a/fs/zonefs/Makefile
+++ b/fs/zonefs/Makefile
@@ -1,4 +1,6 @@
# SPDX-License-Identifier: GPL-2.0
+ccflags-y += -I$(src)
+
obj-$(CONFIG_ZONEFS_FS) += zonefs.o
zonefs-y := super.o