Skip to content

tools: bpftool: fix object pinning and bash

Quentin Monnet bpf netdev 2 versions Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesApplied
  2. v12 patches 1 replySuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2tools: bpftool: allow all prog/map handles for pinning objectstools/bpf/bpftool/common.c tools/bpf/bpftool/main.h tools/bpf/bpftool/map.c +1 more+7 -320 replies
2/2tools: bpftool: fix minor bash completion mistakestools/bpf/bpftool/bash-completion/bpftool+21 -80 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMartin KaFai Lau
SeriesA-b
1/2
2/2

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

Read the v2 thread

Cover letter [PATCH bpf-next v2 0/2] tools: bpftool: fix object pinning and bash

The first patch of this series improves user experience by allowing to pass all kinds of handles for programs and maps (id, tag, name, pinned path) instead of simply ids when pinning them with "bpftool (prog|map) pin".

The second patch improves or fix bash completion, including for object pinning.

v2: Restore close() on file descriptor after pinning the object.

Quentin Monnet (2):
tools: bpftool: allow all prog/map handles for pinning objects
tools: bpftool: fix minor bash completion mistakes

 tools/bpf/bpftool/bash-completion/bpftool | 29 ++++++++++++++------
 tools/bpf/bpftool/common.c                | 33 +++--------------------
 tools/bpf/bpftool/main.h                  |  2 +-
 tools/bpf/bpftool/map.c                   |  2 +-
 tools/bpf/bpftool/prog.c                  |  2 +-
 5 files changed, 28 insertions(+), 40 deletions(-)
Signature · 1 line
2.20.1