Skip to content

tools: bpftool: fixes and small improvements

Quentin Monnet netdev 1 version Applied

Status from this message: Applied, Thanks

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5tools: bpftool: use "/proc/self/" i.o. crafting links with getpid()tools/bpf/bpftool/common.c tools/bpf/bpftool/jit_disasm.c+3 -130 replies
2/5tools: bpftool: fix bash completion for bpftool prog (attach|detach)tools/bpf/bpftool/bash-completion/bpftool+49 -240 replies
3/5tools: bpftool: fix bash completion for new map types (queue and stack)tools/bpf/bpftool/bash-completion/bpftool+1 -10 replies
4/5tools: bpftool: mark offloaded programs more explicitly in plain outputtools/bpf/bpftool/common.c+1 -10 replies
5/5tools: bpftool: add owner_prog_type and owner_jited to bpftool outputtools/bpf/bpftool/main.h tools/bpf/bpftool/map.c tools/bpf/bpftool/prog.c+75 -260 replies

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by.

PatchJakub Kicinski
1/5R-b
2/5R-b
3/5
4/5A-b
5/5A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH bpf-next 0/5] tools: bpftool: fixes and small improvements

Hi,
Several items for bpftool are included in this set: the first three patches are fixes for bpftool itself and bash completion, while the last two slightly improve the information obtained when dumping programs or maps, on Daniel's suggestion. Please refer to individual commit logs for more details.

Quentin Monnet (5):
tools: bpftool: use "/proc/self/" i.o. crafting links with getpid()
tools: bpftool: fix bash completion for bpftool prog (attach|detach)
tools: bpftool: fix bash completion for new map types (queue and
stack)
tools: bpftool: mark offloaded programs more explicitly in plain
output
tools: bpftool: add owner_prog_type and owner_jited to bpftool output

 tools/bpf/bpftool/bash-completion/bpftool | 75 ++++++++++++++++++++-----------
 tools/bpf/bpftool/common.c                |  7 ++-
 tools/bpf/bpftool/jit_disasm.c            | 11 +----
 tools/bpf/bpftool/main.h                  | 26 +++++++++++
 tools/bpf/bpftool/map.c                   | 50 ++++++++++++++++++++-
 tools/bpf/bpftool/prog.c                  | 27 +----------
 6 files changed, 130 insertions(+), 66 deletions(-)
Signature · 1 line
2.7.4