* [RFC PATCH bpf-next 0/2] Add prog_kfunc feature probe
@ 2025-01-22 16:55 Tao Chen
0 siblings, 0 replies; 2+ messages in thread
From: Tao Chen @ 2025-01-22 16:55 UTC (permalink / raw)
To: ast, daniel, andrii, eddyz87, haoluo, jolsa, qmo
Cc: bpf, linux-kernel, chen.dylane
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [RFC PATCH bpf-next 0/2] Add prog_kfunc feature probe
@ 2025-01-22 17:13 Tao Chen
0 siblings, 0 replies; 2+ messages in thread
From: Tao Chen @ 2025-01-22 17:13 UTC (permalink / raw)
To: ast, daniel, andrii, eddyz87, haoluo, jolsa, qmo
Cc: bpf, linux-kernel, Tao Chen
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-01-22 17:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-22 16:55 [RFC PATCH bpf-next 0/2] Add prog_kfunc feature probe Tao Chen
-- strict thread matches above, loose matches on Subject: below --
2025-01-22 17:13 Tao Chen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox