aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/cgroup_v1v2.c
diff options
context:
space:
mode:
authorIhor Solodrai <ihor.solodrai@linux.dev>2025-02-24 15:57:55 -0800
committerAndrii Nakryiko <andrii@kernel.org>2025-02-26 08:59:44 -0800
commitb62dff14402a80962fd83a40f73f230fff78b18f (patch)
tree025e9ce062714a798bb45ab0397d74739dd1ed18 /tools/testing/selftests/bpf/prog_tests/cgroup_v1v2.c
parentbpf: Fix deadlock between rcu_tasks_trace and event_mutex. (diff)
downloadlinux-b62dff14402a80962fd83a40f73f230fff78b18f.tar.gz
linux-b62dff14402a80962fd83a40f73f230fff78b18f.zip
libbpf: Implement bpf_usdt_arg_size BPF function
Information about USDT argument size is implicitly stored in __bpf_usdt_arg_spec, but currently it's not accessbile to BPF programs that use USDT. Implement bpf_sdt_arg_size() that returns the size of an USDT argument in bytes. v1->v2: * do not add __bpf_usdt_arg_spec() helper v1: https://lore.kernel.org/bpf/20250220215904.3362709-1-ihor.solodrai@linux.dev/ Suggested-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Reviewed-by: Jiri Olsa <jolsa@kernel.org> Link: https://lore.kernel.org/bpf/20250224235756.2612606-1-ihor.solodrai@linux.dev
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/cgroup_v1v2.c')
0 files changed, 0 insertions, 0 deletions