Home
last modified time | relevance | path

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

/linux/tools/lib/bpf/
H A Dlibbpf.c7824 int *btf_obj_fd, int *btf_type_id);
7863 static int tracing_multi_mod_fd(struct bpf_program *prog, int *btf_obj_fd) in tracing_multi_mod_fd() argument
7868 *btf_obj_fd = 0; in tracing_multi_mod_fd()
7885 *btf_obj_fd = mod->fd; in tracing_multi_mod_fd()
7916 int btf_obj_fd = 0, btf_type_id = 0, err; in libbpf_prepare_prog_load() local
7936 err = libbpf_find_attach_btf_id(prog, attach_name, &btf_obj_fd, &btf_type_id); in libbpf_prepare_prog_load()
7941 prog->attach_btf_obj_fd = btf_obj_fd; in libbpf_prepare_prog_load()
7949 opts->attach_btf_obj_fd = btf_obj_fd; in libbpf_prepare_prog_load()
7954 int err, btf_obj_fd = 0; in libbpf_prepare_prog_load() local
7956 err = tracing_multi_mod_fd(prog, &btf_obj_fd); in libbpf_prepare_prog_load()
[all …]
/linux/kernel/bpf/
H A Dbtf.c8764 int btf_obj_fd = 0; in BPF_CALL_4() local
8775 btf_obj_fd = __btf_new_fd(btf); in BPF_CALL_4()
8776 if (btf_obj_fd < 0) { in BPF_CALL_4()
8778 return btf_obj_fd; in BPF_CALL_4()
8780 return ret | (((u64)btf_obj_fd) << 32); in BPF_CALL_4()