2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-15 08:44:14 +08:00
linux-next/tools/bpf/bpftool
Quentin Monnet d9c0b48db9 tools: bpftool: print only one error message on byte parsing failure
Make error messages more consistent. Specifically, when bpftool fails at
parsing map key bytes, make it print a single error message to stderr
and return from the function, instead of (always) printing a second
error message afterwards.

Signed-off-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-10-22 02:11:32 +01:00
..
Documentation tools: bpftool: use more common tag format 2017-10-18 13:19:39 +01:00
common.c tools: bpf: add bpftool 2017-10-04 21:45:06 -07:00
jit_disasm.c tools: bpf: add bpftool 2017-10-04 21:45:06 -07:00
main.c tools: bpftool: add pointer to file argument to print_hex() 2017-10-22 02:11:31 +01:00
main.h tools: bpftool: add pointer to file argument to print_hex() 2017-10-22 02:11:31 +01:00
Makefile tools: bpftool: use the kernel's instruction printer 2017-10-10 12:30:16 -07:00
map.c tools: bpftool: print only one error message on byte parsing failure 2017-10-22 02:11:32 +01:00
prog.c tools: bpftool: add bpftool prog help as real command i.r.t exit code 2017-10-22 02:11:32 +01:00