mbox series

[net-next,0/8] tools: bpftool: add a "version" command, and fix several items

Message ID 20171019224626.31608-1-jakub.kicinski@netronome.com
Headers show
Series tools: bpftool: add a "version" command, and fix several items | expand

Message

Jakub Kicinski Oct. 19, 2017, 10:46 p.m. UTC
Quentin says:

The first seven patches of this series bring several minor fixes to
bpftool. Please see individual commit logs for details.

Last patch adds a "version" commands to bpftool, which is in fact the
version of the kernel from which it was compiled.


Quentin Monnet (8):
  tools: bpftool: add pointer to file argument to print_hex()
  tools: bpftool: fix return value when all eBPF programs have been
    shown
  tools: bpftool: use err() instead of info() if there are too many
    insns
  tools: bpftool: add `bpftool prog help` as real command i.r.t exit
    code
  tools: bpftool: print only one error message on byte parsing failure
  tools: bpftool: print all relevant byte opcodes for "load double word"
  tools: bpftool: show that `opcodes` or `file FILE` should be exclusive
  tools: bpftool: add a command to display bpftool version

 tools/bpf/bpftool/Documentation/bpftool-prog.rst |  8 +++----
 tools/bpf/bpftool/Documentation/bpftool.rst      |  2 ++
 tools/bpf/bpftool/main.c                         | 22 +++++++++++++----
 tools/bpf/bpftool/main.h                         |  2 +-
 tools/bpf/bpftool/map.c                          | 22 ++++++++---------
 tools/bpf/bpftool/prog.c                         | 30 +++++++++++++++++-------
 6 files changed, 56 insertions(+), 30 deletions(-)

Comments

Alexei Starovoitov Oct. 19, 2017, 11:42 p.m. UTC | #1
On Thu, Oct 19, 2017 at 03:46:18PM -0700, Jakub Kicinski wrote:
> Quentin says:
> 
> The first seven patches of this series bring several minor fixes to
> bpftool. Please see individual commit logs for details.
> 
> Last patch adds a "version" commands to bpftool, which is in fact the
> version of the kernel from which it was compiled.

lgtm
Acked-by: Alexei Starovoitov <ast@kernel.org>
David Miller Oct. 22, 2017, 1:11 a.m. UTC | #2
From: Jakub Kicinski <jakub.kicinski@netronome.com>
Date: Thu, 19 Oct 2017 15:46:18 -0700

> Quentin says:
> 
> The first seven patches of this series bring several minor fixes to
> bpftool. Please see individual commit logs for details.
> 
> Last patch adds a "version" commands to bpftool, which is in fact the
> version of the kernel from which it was compiled.

Series applied, thank you.