On 2024-05-31 12:15:50 [+0200], Jiri Olsa wrote: > The bpf_session_cookie is unavailable for !CONFIG_FPROBE as reported > by Sebastian [1]. > > Instead of adding more ifdefs, making the session kfuncs globally > available as suggested by Alexei. It's still allowed only for > session programs, but it won't fail the build. but this relies on CONFIG_UPROBE_EVENTS=y What about CONFIG_UPROBE_EVENTS=n? Sebastian