diff options
| author | Quentin Monnet <[email protected]> | 2023-04-05 13:21:20 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2023-04-06 04:27:27 +0000 |
| commit | 7319296855f1bac0e7fb003388f44ecbd4515102 (patch) | |
| tree | 2fec7cffe9e8f41a97431a9a055f8f3543464d8d /tools/bpf/bpftool/prog.c | |
| parent | bpftool: Support printing opcodes and source file references in CFG (diff) | |
| download | kernel-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
