mbox series

[bpf-next,0/2] tools: bpftool: fix object pinning and bash

Message ID 20200312182555.945-1-quentin@isovalent.com
Headers show
Series tools: bpftool: fix object pinning and bash | expand

Message

Quentin Monnet March 12, 2020, 6:25 p.m. UTC
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.

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                | 39 +++--------------------
 tools/bpf/bpftool/main.h                  |  2 +-
 tools/bpf/bpftool/map.c                   |  2 +-
 tools/bpf/bpftool/prog.c                  |  2 +-
 5 files changed, 29 insertions(+), 45 deletions(-)