diff options
| author | Jeff Layton <jlayton@kernel.org> | 2026-04-28 08:09:49 +0100 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-05-15 19:24:33 +0200 |
| commit | ad4489dcd08dcfbc32ea6e6a4f558cdd459bd80c (patch) | |
| tree | 8789cbb6b428692ed23a7ce9cfb7997c3ebf27b8 /fs | |
| parent | 95825fdcc0b0e868571d1c755f6a6971caf9b7cb (diff) | |
| download | linux-next-history-ad4489dcd08dcfbc32ea6e6a4f558cdd459bd80c.tar.gz | |
fsnotify: new tracepoint in fsnotify()
Add a tracepoint so we can see exactly how this is being called.
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Link: https://patch.msgid.link/20260428-dir-deleg-v3-5-5a0780ba9def@kernel.org
Acked-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs')
| -rw-r--r-- | fs/notify/fsnotify.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/notify/fsnotify.c b/fs/notify/fsnotify.c index b7198c4744e3a..0031f45e702bb 100644 --- a/fs/notify/fsnotify.c +++ b/fs/notify/fsnotify.c @@ -14,6 +14,9 @@ #include <linux/fsnotify_backend.h> #include "fsnotify.h" +#define CREATE_TRACE_POINTS +#include <trace/events/fsnotify.h> + /* * Clear all of the marks on an inode when it is being evicted from core */ @@ -504,6 +507,8 @@ int fsnotify(__u32 mask, const void *data, int data_type, struct inode *dir, int ret = 0; __u32 test_mask, marks_mask = 0; + trace_fsnotify(mask, data, data_type, dir, file_name, inode, cookie); + if (path) mnt = real_mount(path->mnt); |
