aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorAl Viro <[email protected]>2019-12-18 01:03:59 +0000
committerAl Viro <[email protected]>2020-02-07 19:48:37 +0000
commit48ce73b1bef20331007b35de7ade8fe26cd55e84 (patch)
tree27cefdfd5e4f49a92d81e6a98f48b4f83a9c1639 /tools/perf/scripts/python/net_dropmonitor.py
parentfs_parse: fold fs_parameter_desc/fs_parameter_spec (diff)
downloadkernel-48ce73b1bef20331007b35de7ade8fe26cd55e84.tar.gz
kernel-48ce73b1bef20331007b35de7ade8fe26cd55e84.zip
fs_parse: handle optional arguments sanely
Don't bother with "mixed" options that would allow both the form with and without argument (i.e. both -o foo and -o foo=bar). Rather than trying to shove both into a single fs_parameter_spec, allow having with-argument and no-argument specs with the same name and teach fs_parse to handle that. There are very few options of that sort, and they are actually easier to handle that way - callers end up with less postprocessing. Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions