Home
last modified time | relevance | path

Searched refs:attach_name (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/lib/bpf/
H A Dgen_loader.c526 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()
H A Dlibbpf.c6820 static int libbpf_find_attach_btf_id(struct bpf_program *prog, const char *attach_name,
6851 const char *attach_name; in libbpf_prepare_prog_load() local
6853 attach_name = strchr(prog->sec_name, '/'); in libbpf_prepare_prog_load()
6854 if (!attach_name) { in libbpf_prepare_prog_load()
6868 attach_name++; /* skip over / */ in libbpf_prepare_prog_load()
6870 err = libbpf_find_attach_btf_id(prog, attach_name, &btf_obj_fd, &btf_type_id); in libbpf_prepare_prog_load()
9359 static int find_kernel_btf_id(struct bpf_object *obj, const char *attach_name, in find_kernel_btf_id() argument
9365 ret = find_attach_btf_id(obj->btf_vmlinux, attach_name, attach_type); in find_kernel_btf_id()
9381 ret = find_attach_btf_id(mod->btf, attach_name, attach_type); in find_kernel_btf_id()
9396 static int libbpf_find_attach_btf_id(struct bpf_program *prog, const char *attach_name, in libbpf_find_attach_btf_id() argument
[all …]