bpf: Add bpf_stream_print_stack kfunc
Status from this message: This series was applied to bpf/bpf-next.git (master)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 0 repliesApplied 4/4
- v14 patches 3 repliesSuperseded
Patches in v2 All 4 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | bpf: Add bpf_stream_print_stack stack dumping kfunckernel/ kernel/ | +20 | 0 replies | Applied |
| 2/4 | selftests/bpf: Add selftests for bpf_stream_print_stacktools/ | +21 | 0 replies | Applied |
| 3/4 | bpf: Allow BPF stream kfuncs while holding a lockkernel/ | +12 | 0 replies | Applied |
| 4/4 | selftests/bpf: Add selftests for stream functions under locktools/ | +32 | 0 replies | Applied |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Kumar Kartikeya Dwivedi |
|---|---|
| 1/4 | A-b |
| 2/4 | A-b |
| 3/4 | A-b |
| 4/4 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/4] bpf: Add bpf_stream_print_stack kfunc
Add a new bpf_stream_print_stack kfunc for printing a BPF program stack into a BPF stream. Update the verifier to allow the new kfunc to be called with BPF spinlocks held, along with bpf_stream_vprintk.
Patchset spun out of the larger libarena + ASAN patchset.
(https://lore.kernel.org/bpf/[email protected]/)
Changeset:
- Update bpf_stream_print_stack to take stream_id arg (Kumar)
- Added selftest for the bpf_stream_print_stack
- Add selftest for calling the streams kfuncs under lock
v2->v1: (https://lore.kernel.org/bpf/[email protected]/)
- Updated Signed-off-by to be consistent with past submissions
- Updated From email to be consistent with Signed-off-by
Emil Tsalapatis (4):
bpf: Add bpf_stream_print_stack stack dumping kfunc selftests/bpf: Add selftests for bpf_stream_print_stack
bpf: Allow BPF stream kfuncs while holding a lock selftests/bpf: Add selftests for stream functions under lock
kernel/bpf/helpers.c | 1 + kernel/bpf/stream.c | 19 ++++++++ kernel/bpf/verifier.c | 13 +++++- tools/testing/selftests/bpf/progs/stream.c | 53 ++++++++++++++++++++++ 4 files changed, 85 insertions(+), 1 deletion(-)
Signature · 1 line
2.49.0