--- zzzz-none-000/linux-5.15.111/fs/notify/fsnotify.c 2023-05-11 14:00:40.000000000 +0000 +++ puma7-atom-6670-761/linux-5.15.111/fs/notify/fsnotify.c 2024-02-07 10:23:24.000000000 +0000 @@ -14,6 +14,12 @@ #include #include "fsnotify.h" +#ifndef CONFIG_TRACE_FSNOTIFY_EVENTS +# define NOTRACE +#endif +#define CREATE_TRACE_POINTS +#include "trace-fsnotify.h" + /* * Clear all of the marks on an inode when it is being evicted from core */ @@ -515,6 +521,8 @@ if (!(mask & FS_MODIFY) && !(test_mask & marks_mask)) return 0; + trace_fsnotify_event(inode, mask, file_name->name); + iter_info.srcu_idx = srcu_read_lock(&fsnotify_mark_srcu); iter_info.marks[FSNOTIFY_OBJ_TYPE_SB] =