Re: [PATCH bpf] bpf: Make session kfuncs global

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 31, 2024 at 12:39:31PM +0200, Sebastian Andrzej Siewior wrote:
> 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?

hum, I can't see that.. also I tested it with CONFIG_UPROBE_EVENTS=n,
the CONFIG_UPROBES ifdef is ended right above this code..

jirka

> 
> Sebastian




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux