On Thu, Jul 06, 2023 at 09:42:05PM -0700, Andrii Nakryiko wrote: SNIP > > +static void test_bench_attach_usdt(void) > > +{ > > + struct uprobe_multi_usdt *skel = NULL; > > + long attach_start_ns, attach_end_ns; > > + long detach_start_ns, detach_end_ns; > > + double attach_delta, detach_delta; > > + struct bpf_program *prog; > > + int err; > > + > > + skel = uprobe_multi_usdt__open(); > > + if (!ASSERT_OK_PTR(skel, "uprobe_multi__open")) > > + goto cleanup; > > + > > + bpf_object__for_each_program(prog, skel->obj) > > + bpf_program__set_autoload(prog, false); > > + > > + bpf_program__set_autoload(skel->progs.usdt0, true); > > there is nothing else in that skeleton, why this set_autoload() business? nah copy&paste error from the uprobe bench test.. will change ;-) jirka SNIP