aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorHongbo Li <[email protected]>2025-07-10 12:14:10 +0000
committerJaegeuk Kim <[email protected]>2025-07-22 15:58:14 +0000
commit02eb5fe42a8c6cfcf063126df7e41ec2036b083c (patch)
tree10ec1edaf985746fded2a6474b4a96bbec1c054f /tools/perf/util/scripting-engines/trace-event-python.c
parentf2fs: Add fs parameter specifications for mount options (diff)
downloadkernel-02eb5fe42a8c6cfcf063126df7e41ec2036b083c.tar.gz
kernel-02eb5fe42a8c6cfcf063126df7e41ec2036b083c.zip
f2fs: move the option parser into handle_mount_opt
In handle_mount_opt, we use fs_parameter to parse each option. However we're still using the old API to get the options string. Using fsparams parse_options allows us to remove many of the Opt_ enums, so remove them. The checkpoint disable cap (or percent) involves rather complex parsing; we retain the old match_table mechanism for this, which handles it well. There are some changes about parsing options: 1. For `active_logs`, `inline_xattr_size` and `fault_injection`, we use s32 type according the internal structure to record the option's value. Signed-off-by: Hongbo Li <[email protected]> [sandeen: forward port, minor fixes and updates] Signed-off-by: Eric Sandeen <[email protected]> [hongbo: minor cleanup] Signed-off-by: Hongbo Li <[email protected]> Reviewed-by: Chao Yu <[email protected]> Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions