diff options
author | Emil Tsalapatis <emil@etsalapatis.com> | 2025-03-18 06:07:53 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2025-03-18 20:21:59 +0300 |
commit | ae0a457f5d33c336f3c4259a258f8b537531a04b (patch) | |
tree | dd224c5dd81e01a2fcb341dbdd335ea7006e20f3 /lib/test_fortify/write_overflow-strncpy.c | |
parent | f3f8649585a445414521a6d5b76f41b51205086d (diff) | |
download | linux-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 'lib/test_fortify/write_overflow-strncpy.c')
0 files changed, 0 insertions, 0 deletions