bpf: Enable bpf_sk_storage for FENTRY/FEXIT/RAW_TP
Status from this message: This series was applied to bpf/bpf-next.git (refs/heads/master):
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 9 repliesApplied 4/4
- v13 patches 14 repliesSuperseded
Changes in v2 from the cover letter
- Rename some of the function prefix from sk_storage to bpf_sk_storage
- Use prefix check instead of substr check
Patches in v2 All 4 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | bpf: Folding omem_charge() into sk_storage_charge()net/ | +10 | 1 reply | Applied |
| 2/4 | bpf: Rename some functions in bpf_sk_storagenet/ | +19 | 1 reply | Applied |
| 3/4 | bpf: Allow using bpf_sk_storage in FENTRY/FEXIT/RAW_TPinclude/ kernel/ net/ | +81 | 7 replies | Applied |
| 4/4 | bpf: selftest: Use bpf_sk_storage in FENTRY/FEXIT/RAW_TPtools/ tools/ tools/ | +259 | 0 replies | Applied |
Reviews trailers per patch
3 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Song Liu | KP Singh |
|---|---|---|
| 1/4 | A-b | A-b |
| 2/4 | A-b | |
| 3/4 | A-b | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 bpf-next 0/4] bpf: Enable bpf_sk_storage for FENTRY/FEXIT/RAW_TP
This set is to allow the FENTRY/FEXIT/RAW_TP tracing program to use bpf_sk_storage. The first two patches are a cleanup. The last patch is tests. Patch 3 has the required kernel changes to
enable bpf_sk_storage for FENTRY/FEXIT/RAW_TP.
Please see individual patch for details.
v2:
- Rename some of the function prefix from sk_storage to bpf_sk_storage
- Use prefix check instead of substr check
Martin KaFai Lau (4):
bpf: Folding omem_charge() into sk_storage_charge()
bpf: Rename some functions in bpf_sk_storage
bpf: Allow using bpf_sk_storage in FENTRY/FEXIT/RAW_TP
bpf: selftest: Use bpf_sk_storage in FENTRY/FEXIT/RAW_TP
include/net/bpf_sk_storage.h | 2 + kernel/trace/bpf_trace.c | 5 + net/core/bpf_sk_storage.c | 135 +++++++++++++----- .../bpf/prog_tests/sk_storage_tracing.c | 135 ++++++++++++++++++ .../bpf/progs/test_sk_storage_trace_itself.c | 29 ++++ .../bpf/progs/test_sk_storage_tracing.c | 95 ++++++++++++ 6 files changed, 369 insertions(+), 32 deletions(-) create mode 100644 tools/testing/selftests/bpf/prog_tests/sk_storage_tracing.c create mode 100644 tools/testing/selftests/bpf/progs/test_sk_storage_trace_itself.c create mode 100644 tools/testing/selftests/bpf/progs/test_sk_storage_tracing.c
Signature · 1 line
2.24.1