On Thu, Sep 03, 2020 at 01:35:28PM -0700, Andrii Nakryiko wrote: > > This patch set removes all such restrictions and adds complete support for > using BPF sub-program calls on BPF side. This is achieved through libbpf > tracking subprograms individually and detecting which subprograms are used by > any given entry-point BPF program, and subsequently only appending and > relocating code for just those used subprograms. > > In addition, libbpf now also supports multiple entry-point BPF programs within > the same ELF section. This allows to structure code so that there are few > variants of BPF programs of the same type and attaching to the same target > (e.g., for tracepoints and kprobes) without the need to worry about ELF > section name clashes. Applied. Thanks