linux_dsm_epyc7002/tools/bpf/bpftool
Jakub Kicinski 4b6eca9d68 tools: bpftool: don't use hex numbers in JSON output
JSON does not accept hex numbers with 0x prefix.  Simply print
as decimal numbers, JSON should be primarily machine-readable.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Fixes: 831a0aafe5 ("tools: bpftool: add JSON output for `bpftool map *` commands")
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2018-03-24 10:38:59 -07:00
..
bash-completion tools: bpftool: add bash completion for cgroup commands 2018-02-08 11:59:50 +01:00
Documentation tools: bpftool: add bash completion for cgroup commands 2018-02-08 11:59:50 +01:00
cgroup.c tools: bpftool: remove new lines from errors 2018-01-04 12:28:46 +01:00
common.c tools: bpftool: fix compilation with older headers 2018-03-06 22:51:00 +01:00
jit_disasm.c tools: bpftool: improve architecture detection by using ifindex 2018-01-18 01:26:15 +01:00
json_writer.c tools: bpftool: add JSON output for bpftool prog dump xlated * command 2017-10-24 01:25:08 +01:00
json_writer.h tools: bpftool: add JSON output for bpftool prog dump xlated * command 2017-10-24 01:25:08 +01:00
main.c tools: bpftool: preserve JSON output on errors on batch file parsing 2018-02-15 10:01:05 +01:00
main.h tools: bpftool: improve architecture detection by using ifindex 2018-01-18 01:26:15 +01:00
Makefile tools: bpftool: add -DPACKAGE when including bfd.h 2018-01-17 01:15:05 +01:00
map.c tools: bpftool: don't use hex numbers in JSON output 2018-03-24 10:38:59 -07:00
prog.c tools: bpftool: preserve JSON for batch mode when dumping insns to file 2018-02-15 10:01:05 +01:00