diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2024-11-20 17:27:23 +0300 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-11-21 11:35:26 +0300 |
commit | d18516a0218da360dd27ae204acbd8d1440f6d6b (patch) | |
tree | 5877b689c07bdda744304396bafa88c0abafb6b5 /tools/perf/scripts/python/task-analyzer.py | |
parent | b3e2963916ec70e4c6927e68d1b5d0916afb139a (diff) | |
download | linux-d18516a0218da360dd27ae204acbd8d1440f6d6b.tar.xz |
statmount: clean up unescaped option handling
Move common code from opt_array/opt_sec_array to helper. This helper
does more than just unescape options, so rename to
statmount_opt_process().
Handle corner case of just a single character in options.
Rename some local variables to better describe their function.
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Link: https://lore.kernel.org/r/20241120142732.55210-1-mszeredi@redhat.com
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions