Home
last modified time | relevance | path

Searched hist:"52 c84d36b7e2f8197a9a6174d6f901a7c7afb850" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/bpf/bpftool/
H A Dprog.cdiff 52c84d36b7e2f8197a9a6174d6f901a7c7afb850 Thu Feb 15 00:42:54 CST 2018 Quentin Monnet <quentin.monnet@netronome.com> tools: bpftool: preserve JSON for batch mode when dumping insns to file

Print a "null" JSON object to standard output when bpftool is used to
print program instructions to a file, so as to avoid breaking JSON
output on batch mode.

This null object was added for most commands in a previous commit, but
this specific case had been omitted.

Fixes: 004b45c0e51a ("tools: bpftool: provide JSON output for all possible commands")
Signed-off-by: Quentin Monnet <quentin.monnet@netronome.com>
Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>