diff options
author | Gabriel Krisman Bertazi <krisman@collabora.com> | 2021-10-25 16:27:38 -0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2021-10-27 12:37:20 +0200 |
commit | 4bd5a5c8e6e5cd964e9738e6ef87f6c2cb453edf (patch) | |
tree | 0bbe923f386411b6ca8fce6e911da7e8e93d5b2f /tools/perf/scripts/python/stackcollapse.py | |
parent | 2c5069433a3adc01ff9c5673567961bb7f138074 (diff) |
fanotify: Add helpers to decide whether to report FID/DFID
Now that there is an event that reports FID records even for a zeroed
file handle, wrap the logic that deides whether to issue the records
into helper functions. This shouldn't have any impact on the code, but
simplifies further patches.
Link: https://lore.kernel.org/r/20211025192746.66445-24-krisman@collabora.com
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions