aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorGabriel Krisman Bertazi <[email protected]>2021-10-25 16:27:20 -0300
committerJan Kara <[email protected]>2021-10-27 12:33:14 +0200
commitb9928e80dda84b349ba8de01780b9bef2fc36ffa (patch)
tree55a61f01f5ae72db67bd5f5afa06273ab0d8a7e5 /tools/perf/scripts/python/export-to-sqlite.py
parentcc53b55f697fe5aa98bdbfdfe67c6401da242155 (diff)
fanotify: Fold event size calculation to its own function
Every time this function is invoked, it is immediately added to FAN_EVENT_METADATA_LEN, since there is no need to just calculate the length of info records. This minor clean up folds the rest of the calculation into the function, which now operates in terms of events, returning the size of the entire event, including metadata. Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Amir Goldstein <[email protected]> Reviewed-by: Jan Kara <[email protected]> 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