On 10/23/2017 06:24 PM, Jakub Kicinski wrote:
From: Quentin Monnet <quentin.mon...@netronome.com>

`bpftool batch file FILE` takes FILE as an argument and executes all the
bpftool commands it finds inside (or stops if an error occurs).

To obtain a consistent JSON output, create a root JSON array, then for
each command create a new object containing two fields: one with the
command arguments, the other with the output (which is the JSON object
that the command would have produced, if called on its own).

Signed-off-by: Quentin Monnet <quentin.mon...@netronome.com>

Acked-by: Daniel Borkmann <dan...@iogearbox.net>

Reply via email to