aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAmir Goldstein <[email protected]>2021-10-25 16:27:17 -0300
committerJan Kara <[email protected]>2021-10-27 12:32:09 +0200
commitfd5a3ff49a19aa69e2bc1e26e98037c2d778e61a (patch)
treea6283ae4fdceb6c578ea501e11f643503e846b65 /tools/perf/scripts/python/export-to-sqlite.py
parent9baf93d68bcc3d0a6042283b82603c076e25e4f5 (diff)
fsnotify: pass dentry instead of inode data
Define a new data type to pass for event - FSNOTIFY_EVENT_DENTRY. Use it to pass the dentry instead of it's ->d_inode where available. This is needed in preparation to the refactor to retrieve the super block from the data field. In some cases (i.e. mkdir in kernfs), the data inode comes from a negative dentry, such that no super block information would be available. By receiving the dentry itself, instead of the inode, fsnotify can derive the super block even on these cases. Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Jan Kara <[email protected]> Signed-off-by: Amir Goldstein <[email protected]> [Expand explanation in commit message] Signed-off-by: Gabriel Krisman Bertazi <[email protected]> Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions