Skip to content

Improve raw tracepoint BTF types preservation

Andrii Nakryiko bpf netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3bpf: reliably preserve btf_trace_xxx typesinclude/trace/bpf_probe.h+11 -71 reply
2/3bpf: generate directly-usable raw_tp_##call structs for raw tracepointsinclude/trace/bpf_probe.h+19 -01 reply
3/3tools/runqslower: simplify BPF code by using raw_tp_xxx structstools/bpf/runqslower/runqslower.bpf.c+8 -141 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchYonghong Song
1/3A-b
2/3A-b
3/3A-b

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 bpf-next 0/3] Improve raw tracepoint BTF types preservation

Fix issue with not preserving btf_trace_##call structs when compiled under Clang. Additionally, capture raw tracepoint arguments in raw_tp_##call structs, directly usable from BPF programs. Convert runqslower to use those for proof of concept and to simplify code further.

Andrii Nakryiko (3):
bpf: reliably preserve btf_trace_xxx types
bpf: generate directly-usable raw_tp_##call structs for raw
tracepoints
tools/runqslower: simplify BPF code by using raw_tp_xxx structs

 include/trace/bpf_probe.h             | 37 ++++++++++++++++++++++-----
 tools/bpf/runqslower/runqslower.bpf.c | 22 ++++++----------
 2 files changed, 38 insertions(+), 21 deletions(-)
Signature · 1 line
2.17.1