Searched refs:attach_name (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/tools/lib/bpf/ |
D | gen_loader.c | 526 void bpf_gen__record_attach_target(struct bpf_gen *gen, const char *attach_name, in bpf_gen__record_attach_target() argument 535 prefix, attach_name); in bpf_gen__record_attach_target()
|
D | libbpf.c | 6814 static int libbpf_find_attach_btf_id(struct bpf_program *prog, const char *attach_name, 6839 const char *attach_name; in libbpf_prepare_prog_load() local 6841 attach_name = strchr(prog->sec_name, '/'); in libbpf_prepare_prog_load() 6842 if (!attach_name) { in libbpf_prepare_prog_load() 6856 attach_name++; /* skip over / */ in libbpf_prepare_prog_load() 6858 err = libbpf_find_attach_btf_id(prog, attach_name, &btf_obj_fd, &btf_type_id); in libbpf_prepare_prog_load() 9349 static int find_kernel_btf_id(struct bpf_object *obj, const char *attach_name, in find_kernel_btf_id() argument 9355 ret = find_attach_btf_id(obj->btf_vmlinux, attach_name, attach_type); in find_kernel_btf_id() 9371 ret = find_attach_btf_id(mod->btf, attach_name, attach_type); in find_kernel_btf_id() 9386 static int libbpf_find_attach_btf_id(struct bpf_program *prog, const char *attach_name, in libbpf_find_attach_btf_id() argument [all …]
|