diff options
author | Josef Bacik <josef@toxicpanda.com> | 2024-11-15 18:30:17 +0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2024-12-10 14:03:16 +0300 |
commit | b82c6f5930f65c510f5b6b4b0d7d1913a6dda3db (patch) | |
tree | e1902fa01422db353f4dad4e6456f86524664eb7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 318652e07fa5b1743d08eeccd69a1f47f2c15710 (diff) | |
download | linux-b82c6f5930f65c510f5b6b4b0d7d1913a6dda3db.tar.xz |
fanotify: don't skip extra event info if no info_mode is set
Previously we would only include optional information if you requested
it via an FAN_ flag at fanotify_init time (FAN_REPORT_FID for example).
However this isn't necessary as the event length is encoded in the
metadata, and if the user doesn't want to consume the information they
don't have to. With the PRE_ACCESS events we will always generate range
information, so drop this check in order to allow this extra
information to be exported without needing to have another flag.
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/afcbc4e4139dee076ef1757918b037d3b48c3edb.1731684329.git.josef@toxicpanda.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions