diff options
| author | 2018-07-10 14:42:57 -0700 | |
|---|---|---|
| committer | 2018-07-11 22:13:33 +0200 | |
| commit | 8d1fc3de3d9f9bda0d8ec719d8686e9c5b432573 (patch) | |
| tree | f874af9902794ffeaab8d779edcf808024a3ad9b /tools/include/linux/overflow.h | |
| parent | selftests/bpf: add Error: prefix in check_extack helper (diff) | |
| download | linux-rng-8d1fc3de3d9f9bda0d8ec719d8686e9c5b432573.tar.xz linux-rng-8d1fc3de3d9f9bda0d8ec719d8686e9c5b432573.zip | |
tools: bpftool: refactor argument parsing for prog load
Add a new macro for printing more informative message than straight
usage() when parameters are missing, and use it for prog do_load().
Save the object and pin path argument to variables for clarity.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions
