Modernize resolve_btfids selftest
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 1 replyApplied 4/4
- v14 patches 6 repliesSuperseded
Changes in v2 from the cover letter
* add another kfunc set in reverse order and check_kfunc_set() helper to ensure proper testing of BTF ID sort (Eduard, patch #4)
* nit: restore a dropped break (Eduard, patch #2)
v1: https://lore.kernel.org/bpf/[email protected]/
Patches in v2 All 4 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | tools/bpf: Sync btf_ids.h to toolstools/ | +73 | 0 replies | Applied |
| 2/4 | selftests/bpf: Modernize resolve_btfids test scaffoldingtools/ | +20 | 0 replies | Applied |
| 3/4 | selftests/bpf: Fix resolve_btfids test reads of BTF ID sets in PIE buildstools/ | +24 | 0 replies | Applied |
| 4/4 | selftests/bpf: Add kfunc set test to resolve_btfidstools/ tools/ | +82 | 1 reply | Applied |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Emil Tsalapatis | Eduard Zingerman | Jiri Olsa | Andrii Nakryiko |
|---|---|---|---|---|
| 1/4 | R-b | A-b | A-b | |
| 2/4 | R-b | A-b | A-b | |
| 3/4 | R-b | A-b | A-b | |
| 4/4 | R-b | A-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH bpf-next v2 0/4] Modernize resolve_btfids selftest
This series updates resolve_btfids selftests to use latest selftest helpers API and add kfunc set testing.
This series was split from a bigger series [1]. It's general selftest improvements that don't have to be entangled with resolve_btfids development, and makes the main series a bit smaller.
[1] https://lore.kernel.org/bpf/[email protected]/
---
v1->v2:
* add another kfunc set in reverse order and check_kfunc_set() helper to ensure proper testing of BTF ID sort (Eduard, patch #4)
* nit: restore a dropped break (Eduard, patch #2)
v1: https://lore.kernel.org/bpf/[email protected]/
v0->v1:
* various nits from Jiri, Andrii and Emil
* in patch #3 (that adds gcc pragma) definitions are moved such that .local BTF_ID_* containers are grouped together and we have a single pragma scope
---
Ihor Solodrai (4):
tools/bpf: Sync btf_ids.h to tools
selftests/bpf: Modernize resolve_btfids test scaffolding selftests/bpf: Fix resolve_btfids test reads of BTF ID sets in PIE
builds
selftests/bpf: Add kfunc set test to resolve_btfids
tools/include/linux/btf_ids.h | 78 ++++++++- .../selftests/bpf/prog_tests/resolve_btfids.c | 159 ++++++++++++------ tools/testing/selftests/bpf/progs/btf_data.c | 10 ++ 3 files changed, 195 insertions(+), 52 deletions(-)
Signature · 1 line
2.54.0