Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtest_struct_ops_module.c17 char btf_name[256]; in check_map_info() local
26 btf_info.name = ptr_to_u64(btf_name); in check_map_info()
27 btf_info.name_len = sizeof(btf_name); in check_map_info()
32 if (!ASSERT_EQ(strcmp(btf_name, "bpf_testmod"), 0, "get_value_type_btf_obj_name")) in check_map_info()
/linux/tools/bpf/bpftool/
H A Dbtf.c777 char btf_name[BTF_NAME_BUFF_LEN]; in btf_is_kernel_module() local
789 btf_info.name = ptr_to_u64(btf_name); in btf_is_kernel_module()
790 btf_info.name_len = sizeof(btf_name); in btf_is_kernel_module()
798 return btf_info.kernel_btf && strncmp(btf_name, "vmlinux", sizeof(btf_name)) != 0; in btf_is_kernel_module()