Re: Can eBPF programs call kfuncs of out-of-tree modules?

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

 





On 8/15/23 3:01 AM, Shuyi Cheng wrote:
Hello.

Recently we found that eBPF can call kernel functions, but we don’t know whether it is possible to call register_btf_kfunc_id_set in the out-of-tree module, and enable eBPF programs of types such as kprobe and tracepoint to call functions defined in out-of-tree modules.

Never tried but I think it is possible. register_btf_kfunc_id_set()
can be used in modules.

btf.c:EXPORT_SYMBOL_GPL(register_btf_kfunc_id_set);


Thanks in advance!





[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