diff options
author | Prashant Bhole <[email protected]> | 2019-01-24 11:51:57 +0900 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2019-01-24 10:47:52 +0100 |
commit | 866e6ac47409f0bd12398b777fef61fb51ce3680 (patch) | |
tree | 5a109ec685094de8cd0b6ff021d1e65a4af48026 /tools/perf/scripts/python/compaction-times.py | |
parent | 923cefe3f90148b5da26433f6affbce7908e528d (diff) |
bpftool: feature probing, change default action
When 'bpftool feature' is executed it shows incorrect help string.
test# bpftool feature
Usage: bpftool bpftool probe [COMPONENT] [macros [prefix PREFIX]]
bpftool bpftool help
COMPONENT := { kernel | dev NAME }
Instead of fixing the help text by tweaking argv[] indices, this
patch changes the default action to 'probe'. It makes the behavior
consistent with other subcommands, where first subcommand without
extra parameter results in 'show' action.
Signed-off-by: Prashant Bhole <[email protected]>
Reviewed-by: Quentin Monnet <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions