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.c7817 int *btf_obj_fd, int *btf_type_id);
7856 static int tracing_multi_mod_fd(struct bpf_program *prog, int *btf_obj_fd) in tracing_multi_mod_fd() argument
7861 *btf_obj_fd = 0; in tracing_multi_mod_fd()
7878 *btf_obj_fd = mod->fd; in tracing_multi_mod_fd()
7909 int btf_obj_fd = 0, btf_type_id = 0, err; in libbpf_prepare_prog_load() local
7929 err = libbpf_find_attach_btf_id(prog, attach_name, &btf_obj_fd, &btf_type_id); in libbpf_prepare_prog_load()
7934 prog->attach_btf_obj_fd = btf_obj_fd; in libbpf_prepare_prog_load()
7942 opts->attach_btf_obj_fd = btf_obj_fd; in libbpf_prepare_prog_load()
7947 int err, btf_obj_fd = 0; in libbpf_prepare_prog_load() local
7949 err = tracing_multi_mod_fd(prog, &btf_obj_fd); in libbpf_prepare_prog_load()
[all …]
/linux/kernel/bpf/
H A Dbtf.c8704 int btf_obj_fd = 0; in BPF_CALL_4() local
8715 btf_obj_fd = __btf_new_fd(btf); in BPF_CALL_4()
8716 if (btf_obj_fd < 0) { in BPF_CALL_4()
8718 return btf_obj_fd; in BPF_CALL_4()
8720 return ret | (((u64)btf_obj_fd) << 32); in BPF_CALL_4()