On Wed, Mar 25, 2026 at 02:45:59PM +0800, Leon Hwang wrote:

SNIP

> > +static void test_rollback_unlink(void)
> > +{
> > +   struct tracing_multi_rollback *skel, *extra;
> > +   LIBBPF_OPTS(bpf_tracing_multi_opts, opts);
> > +   struct tracing_multi_rollback **fillers;
> > +   size_t cnt = FUNCS_CNT;
> > +   __u32 *ids = NULL;
> > +   int err, max;
> > +
> > +   max = get_bpf_max_tramp_links();
> > +   if (!ASSERT_GE(max, 1, "bpf_max_tramp_links"))
> > +           return;
> > +
> > +   /* Attach maximum allowed programs to bpf_fentry_test10 */
> > +   fillers = fillers_load_and_link(max);
> > +   if (!ASSERT_OK_PTR(fillers, "fillers_load_and_link"))
> > +           return;
> > +
> > +   extra = extra_load_and_link();
> > +   if (!ASSERT_OK_PTR(extra, "extra_load_and_link"))
> 
> Should cleanup fillers here?

yep, should jump to cleanup, thanks

jirka

Reply via email to