summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2026-06-06 14:39:44 +0200
committerAlexei Starovoitov <ast@kernel.org>2026-06-07 10:03:02 -0700
commit616a93b473a6ab33494db27057f8a413f375ac4f (patch)
treebfa6d52861fc3247f0edf89846a6182d5b696c4e /include/linux
parent630e85a9f0056a7534601ed1ec2532d6ac85b7d7 (diff)
libbpf: Add btf_type_is_traceable_func function
Adding btf_type_is_traceable_func function to perform same checks as the kernel's btf_distill_func_proto function to prevent attachment on some of the functions. Exporting the function via libbpf_internal.h because it will be used by benchmark test in following changes. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Link: https://lore.kernel.org/r/20260606123955.345967-20-jolsa@kernel.org Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions