Skip to content

Add missing types to bpftool, libbpf

Andrey Ignatov netdev 2 versions – Applied

Status from this message: Applied to bpf-next, thanks Andrey!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 3 repliesApplied
  2. v13 patches 3 repliesSuperseded

Changes in v2 from the cover letter

- add new types to bpftool-cgroup man page;
- add new types to bash completion for bpftool;
- don't add types that should not be in bpftool cgroup.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3bpftool: Support new prog types and attach typestools/bpf/bpftool/Documentation/bpftool-cgroup.rst tools/bpf/bpftool/bash-completion/bpftool tools/bpf/bpftool/cgroup.c +1 more+28 -71 reply
2/3libbpf: Support guessing post_bind{4,6} progstools/lib/bpf/libbpf.c+6 -00 replies
3/3libbpf: Type functions for raw tracepointstools/lib/bpf/libbpf.c tools/lib/bpf/libbpf.h+4 -00 replies

Reviews trailers per patch

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

PatchJakub KicinskiAlexei Starovoitov
SeriesA-b
1/3A-b
2/3
3/3

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 v2 bpf-next 0/3] Add missing types to bpftool, libbpf

v1->v2:
- add new types to bpftool-cgroup man page;
- add new types to bash completion for bpftool;
- don't add types that should not be in bpftool cgroup.

Add support for various BPF prog types and attach types that have been added to kernel recently but not to bpftool or libbpf yet.

Andrey Ignatov (3):
bpftool: Support new prog types and attach types
libbpf: Support guessing post_bind{4,6} progs
libbpf: Type functions for raw tracepoints

 tools/bpf/bpftool/Documentation/bpftool-cgroup.rst | 11 +++++++++--
 tools/bpf/bpftool/bash-completion/bpftool          |  6 ++++--
 tools/bpf/bpftool/cgroup.c                         | 15 ++++++++++++---
 tools/bpf/bpftool/prog.c                           |  3 +++
 tools/lib/bpf/libbpf.c                             |  8 ++++++++
 tools/lib/bpf/libbpf.h                             |  2 ++
 6 files changed, 38 insertions(+), 7 deletions(-)
Signature · 1 line
2.9.5