summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorEmil Tsalapatis <emil@etsalapatis.com>2025-03-18 06:07:53 +0300
committerAlexei Starovoitov <ast@kernel.org>2025-03-18 20:21:59 +0300
commitae0a457f5d33c336f3c4259a258f8b537531a04b (patch)
treedd224c5dd81e01a2fcb341dbdd335ea7006e20f3 /rust/helpers/build_bug.c
parentf3f8649585a445414521a6d5b76f41b51205086d (diff)
downloadlinux-ae0a457f5d33c336f3c4259a258f8b537531a04b.tar.xz
bpf: Make perf_event_read_output accessible in all program types.
The perf_event_read_event_output helper is currently only available to tracing protrams, but is useful for other BPF programs like sched_ext schedulers. When the helper is available, provide its bpf_func_proto directly from the bpf base_proto. Signed-off-by: Emil Tsalapatis (Meta) <emil@etsalapatis.com> Acked-by: Jiri Olsa <jolsa@kernel.org> Link: https://lore.kernel.org/r/20250318030753.10949-1-emil@etsalapatis.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions