Skip to content

bpf: Change print_bpf_insn interface

Jiri Olsa lkml netdev 1 version Applied

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2bpf: Remove struct bpf_verifier_env argument from print_bpf_insnkernel/bpf/disasm.c kernel/bpf/disasm.h kernel/bpf/verifier.c+54 -470 replies
2/2bpftool: Adjust to new print_bpf_insn interfacetools/bpf/bpftool/xlated_dumper.c+6 -60 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.

PatchQuentin Monnet
SeriesR-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 v1 thread

Cover letter [PATCH 0/2] bpf: Change print_bpf_insn interface

hi,
this patchset removes struct bpf_verifier_env argument from print_bpf_insn function (patch 1) and changes user space bpftool user to use it that way (patch 2).

thanks,
jirka

---
Jiri Olsa (2):
bpf: Remove struct bpf_verifier_env argument from print_bpf_insn
bpftool: Adjust to new print_bpf_insn interface

 kernel/bpf/disasm.c               | 52 ++++++++++++++++++++++++++--------------------------
 kernel/bpf/disasm.h               |  5 +----
 kernel/bpf/verifier.c             | 44 +++++++++++++++++++++++++++-----------------
 tools/bpf/bpftool/xlated_dumper.c | 12 ++++++------
 4 files changed, 60 insertions(+), 53 deletions(-)