Searched refs:attach_name (Results 1 – 1 of 1) sorted by relevance
/linux/tools/lib/bpf/ |
H A D | libbpf.c | 7380 static int libbpf_find_attach_btf_id(struct bpf_program *prog, const char *attach_name, 7411 const char *attach_name; in libbpf_prepare_prog_load() local 7413 attach_name = strchr(prog->sec_name, '/'); in libbpf_prepare_prog_load() 7414 if (!attach_name) { in libbpf_prepare_prog_load() 7428 attach_name++; /* skip over / */ in libbpf_prepare_prog_load() 7430 err = libbpf_find_attach_btf_id(prog, attach_name, &btf_obj_fd, &btf_type_id); in libbpf_prepare_prog_load() 9986 static int find_kernel_btf_id(struct bpf_object *obj, const char *attach_name, in find_kernel_btf_id() argument 9993 fn_name = strchr(attach_name, ':'); in find_kernel_btf_id() 9995 mod_name = attach_name; in find_kernel_btf_id() 10002 mod_name ? fn_name : attach_name, in find_kernel_btf_id() [all …]
|