Home
last modified time | relevance | path

Searched refs:kernel_btf (Results 1 – 8 of 8) sorted by relevance

/linux/tools/bpf/bpftool/Documentation/
H A Dbpftool-prog.rst34 …** | **xdpmeta_dev** } *NAME*] [**pinmaps** *MAP_DIR*] [**autoattach**] [**kernel_btf** *BTF_FILE*]
131 …P*] [{ offload_dev | xdpmeta_dev } *NAME*] [pinmaps *MAP_DIR*] [autoattach] [kernel_btf *BTF_FILE*]
157 The **kernel_btf** option allows specifying an external BTF file to replace
/linux/tools/bpf/bpftool/
H A Dbtf.c878 return btf_info.kernel_btf && strncmp(btf_name, "vmlinux", sizeof(btf_name)) != 0; in btf_is_kernel_module()
1251 if (info->kernel_btf) in show_btf_plain()
1302 jsonw_bool_field(json_wtr, "kernel", info->kernel_btf); in show_btf_json()
H A Dcgroup.c123 if (btf_info.kernel_btf && strncmp(name, "vmlinux", sizeof(name)) == 0) in guess_vmlinux_btf_id()
/linux/tools/bpf/bpftool/bash-completion/
H A Dbpftool508 pinned|pinmaps|kernel_btf)
514 _bpftool_once_attr 'type pinmaps autoattach kernel_btf'
/linux/kernel/bpf/
H A Dbtf.c277 bool kernel_btf; member
532 return btf->kernel_btf && !btf->base_btf; in btf_is_vmlinux()
6223 btf->kernel_btf = true; in BTF_ID_LIST_SINGLE()
6340 btf->kernel_btf = true; in btf_parse_module()
8098 info.kernel_btf = btf->kernel_btf; in btf_get_info_by_fd()
8159 return btf->kernel_btf; in btf_is_kernel()
8164 return btf->kernel_btf && strcmp(btf->name, "vmlinux") != 0; in btf_is_module()
/linux/tools/include/uapi/linux/
H A Dbpf.h6677 __u32 kernel_btf; member
/linux/include/uapi/linux/
H A Dbpf.h6677 __u32 kernel_btf; member
/linux/tools/lib/bpf/
H A Dlibbpf.c5704 if (!info.kernel_btf || strcmp(name, "vmlinux") == 0) { in load_module_btfs()