Lines Matching defs:prog
3282 struct bpf_program *pos, *prog = NULL;
3291 prog = pos;
3296 return prog;
3302 struct bpf_program *prog;
3307 prog = trace__find_bpf_program_by_title(trace, default_prog_name);
3308 if (prog != NULL)
3312 prog = trace__find_bpf_program_by_title(trace, default_prog_name);
3313 if (prog != NULL)
3319 prog = trace__find_bpf_program_by_title(trace, prog_name);
3321 if (prog != NULL) {
3323 return prog;
3326 pr_debug("Couldn't find BPF prog \"%s\" to associate with syscalls:sys_%s_%s, not augmenting it\n",
3506 * first and second arg (this one on the raw_syscalls:sys_exit prog
3518 * For now we're just reusing the sys_enter prog, and if it
4877 struct bpf_program *prog;
4879 bpf_object__for_each_program(prog, trace.skel->obj) {
4880 if (prog != trace.skel->progs.sys_enter && prog != trace.skel->progs.sys_exit)
4881 bpf_program__set_autoattach(prog, /*autoattach=*/false);
4980 * if we handle it directly, i.e. if the BPF prog returns 0 so