Searched refs:attach_name (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/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 | 6816 static int libbpf_find_attach_btf_id(struct bpf_program *prog, const char *attach_name, 6841 const char *attach_name; in libbpf_prepare_prog_load() local 6843 attach_name = strchr(prog->sec_name, '/'); in libbpf_prepare_prog_load() 6844 if (!attach_name) { in libbpf_prepare_prog_load() 6858 attach_name++; /* skip over / */ in libbpf_prepare_prog_load() 6860 err = libbpf_find_attach_btf_id(prog, attach_name, &btf_obj_fd, &btf_type_id); in libbpf_prepare_prog_load() 9351 static int find_kernel_btf_id(struct bpf_object *obj, const char *attach_name, in find_kernel_btf_id() argument 9357 ret = find_attach_btf_id(obj->btf_vmlinux, attach_name, attach_type); in find_kernel_btf_id() 9373 ret = find_attach_btf_id(mod->btf, attach_name, attach_type); in find_kernel_btf_id() 9388 static int libbpf_find_attach_btf_id(struct bpf_program *prog, const char *attach_name, in libbpf_find_attach_btf_id() argument [all …]
|