On Thu, Oct 26, 2023 at 4:42 AM Yafang Shao <laoar.shao@xxxxxxxxx> wrote: > > On Thu, Oct 26, 2023 at 4:25 AM Jiri Olsa <jolsa@xxxxxxxxxx> wrote: > > > > The fill_link_info test keeps skeleton open and just creates > > various links. We are wrongly calling bpf_link__detach after > > each test to close them, we need to call bpf_link__destroy. > > > > Also we need to set the link NULL so the skeleton destroy > > won't try to destroy them again. > > > > Signed-off-by: Jiri Olsa <jolsa@xxxxxxxxxx> > > Acked-by: Yafang Shao <laoar.shao@xxxxxxxxx> > Acked-by: Song Liu <song@xxxxxxxxxx>