[RFC PATCH bpf-next 0/2] Add prog_kfunc feature probe

Tao Chen posted 2 patches 11 months ago
Only 0 patches received!
There is a newer version of this series
tools/lib/bpf/libbpf.h                        | 16 ++++++++-
tools/lib/bpf/libbpf.map                      |  1 +
tools/lib/bpf/libbpf_probes.c                 | 36 +++++++++++++++++++
.../selftests/bpf/prog_tests/libbpf_probes.c  | 30 ++++++++++++++++
4 files changed, 82 insertions(+), 1 deletion(-)
[RFC PATCH bpf-next 0/2] Add prog_kfunc feature probe
Posted by Tao Chen 11 months ago
More and more kfunc functions are being added to the kernel.
Different prog types have different restrictions when using kfunc.
Therefore, prog_kfunc probe is added to check whether it is supported,
and the use of this api will be added to bpftool later.

Tao Chen (2):
  libbpf: Add libbpf_probe_bpf_kfunc API
  selftests/bpf: Add libbpf_probe_bpf_kfunc API selftests

 tools/lib/bpf/libbpf.h                        | 16 ++++++++-
 tools/lib/bpf/libbpf.map                      |  1 +
 tools/lib/bpf/libbpf_probes.c                 | 36 +++++++++++++++++++
 .../selftests/bpf/prog_tests/libbpf_probes.c  | 30 ++++++++++++++++
 4 files changed, 82 insertions(+), 1 deletion(-)

-- 
2.43.0