On Fri, 2025-07-18 at 16:38 +0100, Leo Yan wrote: [...]
> Just clarify one thing, I defined the kfunc in new patch: > > int bpf_perf_event_aux_pause(void *p__map, u64 flags, u32 pause) > > Unlike your suggestion, I defined the first parameter as "void > *p__map" (I refers to bpf_arena_alloc_pages()) rather than > "struct bpf_map *map". This is because the BPF program will pass a > variable from the map section, rather than passing a map pointer. This is correct, see commit 8d94f1357c00 ("bpf: Recognize '__map' suffix in kfunc arguments") [...]