summaryrefslogtreecommitdiffstats
path: root/fs/zonefs/Makefile
diff options
context:
space:
mode:
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>2021-01-27 05:21:15 +0900
committerDamien Le Moal <damien.lemoal@wdc.com>2021-02-16 09:59:54 +0900
commit62ab1aadcccd037a7ced4ed99b4d46d2b4190183 (patch)
treef6423157260b368f67d29eb566263bd2f5565691 /fs/zonefs/Makefile
parent6ee1d745b7c9fd573fba142a2efdad76a9f1cb04 (diff)
downloadlinux-62ab1aadcccd037a7ced4ed99b4d46d2b4190183.tar.gz
linux-62ab1aadcccd037a7ced4ed99b4d46d2b4190183.tar.xz
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