- #UNIX COMMAND TO LIST ZERO BYTE FILE AND DELETE FILES ARCHIVE#
- #UNIX COMMAND TO LIST ZERO BYTE FILE AND DELETE FILES FULL#
So we need to give it a special parsing function. The set symbol does not have the unique number suffix, ` (10 subsequent siblings) 12 siblings, 1 reply 40+ messages in thread 21:12 ` bpf: Move btf_resolve_size into _btf_resolve_size Jiri Olsa 21:12 ` selftests/bpf: Fix resolve_btfids test Jiri 21:12 ` Jiri Olsa * tools resolve_btfids: Add support for set symbols a/tools/testing/selftests/bpf/prog_tests/resolve_btfids.c Tools/testing/selftests/bpf/prog_tests/resolve_btfids.c | 1 +ĭiff -git a/tools/testing/selftests/bpf/prog_tests/resolve_btfids.c b/tools/testing/selftests/bpf/prog_tests/resolve_btfids.c The linux/btf_ids.h header is now using CONFIG_DEBUG_INFO_BTFĬonfig, so we need to have it defined when it's available.
` (11 subsequent siblings) 12 siblings, 1 reply 40+ messages in thread
21:12 ` tools resolve_btfids: Add support for set symbols Jiri Olsa 21:12 bpf: Add d_path helper Jiri 21:12 ` Jiri Olsa Tools/testing/selftests/bpf/verifier/d_path.c | 37 ++++++++++++++++++++++ġ8 files changed, 667 insertions(+), 37 deletions(-)Ĭreate mode 100644 tools/testing/selftests/bpf/prog_tests/d_path.cĬreate mode 100644 tools/testing/selftests/bpf/progs/test_d_path.cĬreate mode 100644 tools/testing/selftests/bpf/verifier/d_path.c Selftests/bpf: Add set test to resolve_btfidsĭocumentation/bpf/btf.rst | 25 +++++++++++++++ Selftests/bpf: Add test for d_path helper Selftests/bpf: Add verifier test for d_path helper BTF_ids section in btf.rst with sets info Tools resolve_btfids: Add support for set symbolsīpf: Move btf_resolve_size into _btf_resolve_sizeīpf: Add elem_id pointer as argument to _btf_resolve_sizeīpf: Add type_id pointer as argument to _btf_resolve_sizeīpf: Update. fixed leftovers fro mthe preparation changes The patchset also adds support to add set of BTF IDs forĪ helper to define functions that the helper is allowed Limited set of function it can be called from. The helper calls directly d_path function, so there's only Int bpf_d_path(struct path *path, char *buf, u32 sz) 'buf' of size 'sz' and is zero terminated. Given 'struct path' object, which needs to be the kernelīTF 'path' object.
#UNIX COMMAND TO LIST ZERO BYTE FILE AND DELETE FILES FULL#
To: Alexei Starovoitov, Daniel Borkmann, Andrii NakryikoĬc: netdev, bpf, Song Liu, Yonghong Song, Martin KaFai Lau,ĭavid Miller, John Fastabend, Wenbo Zhang, KP Singh,Īdding d_path helper function that returns full path for ` (12 more replies) 0 siblings, 13 replies 40+ messages in thread 21:12 ` selftests/bpf: Fix resolve_btfids test Jiri Olsa
#UNIX COMMAND TO LIST ZERO BYTE FILE AND DELETE FILES ARCHIVE#
Bpf: Add d_path helper Netdev Archive on help / color / mirror / Atom feed * bpf: Add d_path helper 21:12 Jiri Olsa