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 8dfbc6d1d2 tools: bpftool: show that opcodes or file FILE should be exclusive
For the `bpftool prog dump { jited | xlated } ...` command, adding
`opcodes` keyword (to request opcodes to be printed) will have no effect
if `file FILE` (to write binary output to FILE) is provided.

The manual page and the help message to be displayed in the terminal
should reflect that, and indicate that these options should be mutually
exclusive.

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: show that opcodes or file FILE should be exclusive 2017-10-22 02:11:32 +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: show that opcodes or file FILE should be exclusive 2017-10-22 02:11:32 +01:00