bpftool improvements for xlated dump
Status from this message: Applied, thanks Daniel!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | bpf: fix kallsyms handling for subprogskernel/ kernel/ | +9 | 0 replies | |
| 2/2 | bpf: allow for correlation of maps and helpers in dumpinclude/ kernel/ kernel/ +4 more | +370 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Alexei Starovoitov |
|---|---|
| 1/2 | A-b |
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH bpf-next 0/2] bpftool improvements for xlated dump
This work adds correlation of maps and calls into the bpftool xlated dump in order to help debugging and introspection of loaded BPF progs. First patch makes kallsyms work on subprogs with bpf calls, and second implements the actual correlation. Details and example output can be found in the 2nd patch.
Thanks a lot!
Daniel Borkmann (2):
bpf: fix kallsyms handling for subprogs
bpf: allow for correlation of maps and helpers in dump
include/linux/filter.h | 9 +++ kernel/bpf/core.c | 4 +- kernel/bpf/disasm.c | 65 ++++++++++++++--- kernel/bpf/disasm.h | 29 ++++++-- kernel/bpf/syscall.c | 93 ++++++++++++++++++++++-- kernel/bpf/verifier.c | 33 +++++++-- tools/bpf/bpftool/prog.c | 181 ++++++++++++++++++++++++++++++++++++++++++++--- 7 files changed, 379 insertions(+), 35 deletions(-)
Signature · 1 line
2.9.5