Lines Matching refs:progs
118 int fd = ctx.driver_prog_fd ?: bpf_program__fd(ctx.skel->progs.trigger_driver); in trigger_producer_batch()
145 bpf_program__set_autoload(ctx.skel->progs.trigger_driver, true); in setup_ctx()
181 bpf_program__set_autoload(ctx.skel->progs.trigger_driver, false); in trigger_kernel_count_setup()
182 bpf_program__set_autoload(ctx.skel->progs.trigger_count, true); in trigger_kernel_count_setup()
185 ctx.driver_prog_fd = bpf_program__fd(ctx.skel->progs.trigger_count); in trigger_kernel_count_setup()
191 bpf_program__set_autoload(ctx.skel->progs.bench_trigger_kprobe, true); in trigger_kprobe_setup()
193 attach_bpf(ctx.skel->progs.bench_trigger_kprobe); in trigger_kprobe_setup()
199 bpf_program__set_autoload(ctx.skel->progs.bench_trigger_kretprobe, true); in trigger_kretprobe_setup()
201 attach_bpf(ctx.skel->progs.bench_trigger_kretprobe); in trigger_kretprobe_setup()
207 bpf_program__set_autoload(ctx.skel->progs.bench_trigger_kprobe_multi, true); in trigger_kprobe_multi_setup()
209 attach_bpf(ctx.skel->progs.bench_trigger_kprobe_multi); in trigger_kprobe_multi_setup()
215 bpf_program__set_autoload(ctx.skel->progs.bench_trigger_kretprobe_multi, true); in trigger_kretprobe_multi_setup()
217 attach_bpf(ctx.skel->progs.bench_trigger_kretprobe_multi); in trigger_kretprobe_multi_setup()
223 bpf_program__set_autoload(ctx.skel->progs.bench_trigger_fentry, true); in trigger_fentry_setup()
225 attach_bpf(ctx.skel->progs.bench_trigger_fentry); in trigger_fentry_setup()
231 bpf_program__set_autoload(ctx.skel->progs.bench_trigger_fexit, true); in trigger_fexit_setup()
233 attach_bpf(ctx.skel->progs.bench_trigger_fexit); in trigger_fexit_setup()
239 bpf_program__set_autoload(ctx.skel->progs.trigger_driver, false); in trigger_fmodret_setup()
240 bpf_program__set_autoload(ctx.skel->progs.trigger_driver_kfunc, true); in trigger_fmodret_setup()
241 bpf_program__set_autoload(ctx.skel->progs.bench_trigger_fmodret, true); in trigger_fmodret_setup()
244 ctx.driver_prog_fd = bpf_program__fd(ctx.skel->progs.trigger_driver_kfunc); in trigger_fmodret_setup()
245 attach_bpf(ctx.skel->progs.bench_trigger_fmodret); in trigger_fmodret_setup()
251 bpf_program__set_autoload(ctx.skel->progs.trigger_driver, false); in trigger_tp_setup()
252 bpf_program__set_autoload(ctx.skel->progs.trigger_driver_kfunc, true); in trigger_tp_setup()
253 bpf_program__set_autoload(ctx.skel->progs.bench_trigger_tp, true); in trigger_tp_setup()
256 ctx.driver_prog_fd = bpf_program__fd(ctx.skel->progs.trigger_driver_kfunc); in trigger_tp_setup()
257 attach_bpf(ctx.skel->progs.bench_trigger_tp); in trigger_tp_setup()
263 bpf_program__set_autoload(ctx.skel->progs.trigger_driver, false); in trigger_rawtp_setup()
264 bpf_program__set_autoload(ctx.skel->progs.trigger_driver_kfunc, true); in trigger_rawtp_setup()
265 bpf_program__set_autoload(ctx.skel->progs.bench_trigger_rawtp, true); in trigger_rawtp_setup()
268 ctx.driver_prog_fd = bpf_program__fd(ctx.skel->progs.trigger_driver_kfunc); in trigger_rawtp_setup()
269 attach_bpf(ctx.skel->progs.bench_trigger_rawtp); in trigger_rawtp_setup()
350 bpf_program__set_autoload(ctx.skel->progs.bench_trigger_uprobe_multi, true); in usetup()
352 bpf_program__set_autoload(ctx.skel->progs.bench_trigger_uprobe, true); in usetup()
368 ctx.skel->progs.bench_trigger_uprobe_multi, in usetup()
372 link = bpf_program__attach_uprobe(ctx.skel->progs.bench_trigger_uprobe, in usetup()