On Wed, Mar 15, 2023 at 7:38 PM Kui-Feng Lee <kuifeng@xxxxxxxx> wrote: > > Flags a struct_ops is to back a bpf_link by putting it to the > ".struct_ops.link" section. Once it is flagged, the created > struct_ops can be used to create a bpf_link or update a bpf_link that > has been backed by another struct_ops. > > Signed-off-by: Kui-Feng Lee <kuifeng@xxxxxxxx> > --- LGTM. Acked-by: Andrii Nakryiko <andrii@xxxxxxxxxx> > tools/lib/bpf/libbpf.c | 60 +++++++++++++++++++++++++++++++----------- > 1 file changed, 44 insertions(+), 16 deletions(-) > [...]