diff options
| author | Quentin Monnet <[email protected]> | 2018-11-30 16:25:45 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2018-11-30 14:06:06 -0800 |
| commit | cad4977344b35ea116ec5fefe91a76b1dfa113f5 (patch) | |
| tree | 04ba49432fb1fb4421eddac4f84786c4fc727c23 /tools/perf/scripts/python/stat-cpi.py | |
| parent | 327e5dab6dd8559ba28739ec8873350d7b5bb080 (diff) | |
tools: bpftool: fix bash completion for bpftool prog (attach|detach)
Fix bash completion for "bpftool prog (attach|detach) PROG TYPE MAP" so
that the list of indices proposed for MAP are map indices, and not PROG
indices. Also use variables for map and prog reference types ("id",
"pinned", and "tag" for programs).
Fixes: b7d3826c2ed6 ("bpf: bpftool, add support for attaching programs to maps")
Signed-off-by: Quentin Monnet <[email protected]>
Reviewed-by: Jakub Kicinski <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions