libbpf: pinning multiple progs from the same section

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

 



Hello there,

Last year, libbpf added support for attaching multiple handlers to the
same event by allowing defining multiple progs in the same elf
section. However, the pin path for a bpf program is obtained via the
__bpf_program__pin_name function, which uses an escaped version of the
elf section name as the pin_name. Thus, trying to pin multiple bpf
programs defined on the same section fails with "File exists" error,
since libbpf tries to pin more than one program on a single path.
Does adding the actual program name to the pin path makes sense?

Thanks.



[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