aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorQuentin Monnet <[email protected]>2023-04-05 13:21:20 +0000
committerAlexei Starovoitov <[email protected]>2023-04-06 04:27:27 +0000
commit7319296855f1bac0e7fb003388f44ecbd4515102 (patch)
tree2fec7cffe9e8f41a97431a9a055f8f3543464d8d /tools/bpf/bpftool/prog.c
parentbpftool: Support printing opcodes and source file references in CFG (diff)
downloadkernel-7319296855f1bac0e7fb003388f44ecbd4515102.tar.gz
kernel-7319296855f1bac0e7fb003388f44ecbd4515102.zip
bpftool: Clean up _bpftool_once_attr() calls in bash completion
In bpftool's bash completion file, function _bpftool_once_attr() is able to process multiple arguments. There are a few locations where this function is called multiple times in a row, each time for a single argument; let's pass all arguments instead to minimize the number of function calls required for the completion. Signed-off-by: Quentin Monnet <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions