From: David Howells Date: Mon, 25 Apr 2022 15:30:11 +0000 (+0100) Subject: netfs: Export the netfs_sreq tracepoint X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=545b135b72002145ade758f7e59c113915283188;p=linux.git 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 cc: Jeff Layton cc: linux-cachefs@redhat.com cc: linux-fsdevel@vger.kernel.org cc: linux-mm@kvack.org --- diff --git a/fs/netfs/main.c b/fs/netfs/main.c index 81a13071b258a..5e77618a79409 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");