diff options
author | David S. Miller <davem@davemloft.net> | 2017-10-24 01:25:10 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-24 01:30:45 +0100 |
commit | a5dd4982879b29c7cb8fa1ba2bca9e1eb8c14dc2 (patch) | |
tree | fa110252dc155ff8a5f29fbd2d00d641aeef45ae /drivers/net/ethernet/netronome/nfp/bpf/jit.c | |
parent | Merge branch 'tcp-tracepoints' (diff) | |
parent | tools: bpftool: update documentation for --json and --pretty usage (diff) | |
download | linux-dev-a5dd4982879b29c7cb8fa1ba2bca9e1eb8c14dc2.tar.xz linux-dev-a5dd4982879b29c7cb8fa1ba2bca9e1eb8c14dc2.zip |
Merge branch 'bpftool-JSON'
Jakub Kicinski says:
====================
tools: bpftool: Add JSON output to bpftool
Quentin says:
This series introduces support for JSON output to all bpftool commands. It
adds option parsing, and several options are created:
* -j, --json Switch to JSON output.
* -p, --pretty Switch to JSON and print it in a human-friendly fashion.
* -h, --help Print generic help message.
* -V, --version Print version number.
This code uses a "json_writer", which is a copy of the one written by
Stephen Hemminger in iproute2.
---
I don't know if there is an easy way to share the code for json_write
without copying the file, so I am very open to suggestions on this matter.
====================
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/netronome/nfp/bpf/jit.c')
0 files changed, 0 insertions, 0 deletions