summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2022-04-25 17:30:11 +0200
committerDavid Howells <dhowells@redhat.com>2023-12-28 10:45:27 +0100
commit545b135b72002145ade758f7e59c113915283188 (patch)
tree983a4996ec320fb97115665572c9a601375462e1 /fs
parentnetfs: Optimise away reads above the point at which there can be no data (diff)
downloadlinux-545b135b72002145ade758f7e59c113915283188.tar.xz
linux-545b135b72002145ade758f7e59c113915283188.zip
netfs: Export the netfs_sreq tracepoint
Export the netfs_sreq tracepoint so that it can be called directly from client filesystems/cache backend modules. Signed-off-by: David Howells <dhowells@redhat.com> cc: Jeff Layton <jlayton@kernel.org> cc: linux-cachefs@redhat.com cc: linux-fsdevel@vger.kernel.org cc: linux-mm@kvack.org
Diffstat (limited to 'fs')
-rw-r--r--fs/netfs/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/netfs/main.c b/fs/netfs/main.c
index 81a13071b258..5e77618a7940 100644
--- a/fs/netfs/main.c
+++ b/fs/netfs/main.c
@@ -17,6 +17,8 @@ MODULE_DESCRIPTION("Network fs support");
MODULE_AUTHOR("Red Hat, Inc.");
MODULE_LICENSE("GPL");
+EXPORT_TRACEPOINT_SYMBOL(netfs_sreq);
+
unsigned netfs_debug;
module_param_named(debug, netfs_debug, uint, S_IWUSR | S_IRUGO);
MODULE_PARM_DESC(netfs_debug, "Netfs support debugging mask");