Home
last modified time | relevance | path

Searched refs:btf_kind_str (Results 1 – 7 of 7) sorted by relevance

/linux/tools/testing/selftests/bpf/
A Dbtf_helpers.c30 static const char *btf_kind_str(__u16 kind) in btf_kind_str() function
99 fprintf(out, "[%u] %s '%s'", id, btf_kind_str(kind), btf_str(btf, t->name_off)); in fprintf_btf_type_raw()
/linux/tools/bpf/bpftool/
A Dbtf.c23 static const char * const btf_kind_str[NR_BTF_KINDS] = { variable
114 jsonw_string_field(w, "kind", btf_kind_str[btf_kind_safe(kind)]); in dump_btf_type()
117 printf("[%u] %s '%s'", id, btf_kind_str[btf_kind_safe(kind)], in dump_btf_type()
331 btf_kind_str[btf_kind_safe(btf_kind(vt))], in dump_btf_type()
/linux/tools/lib/bpf/
A Dlinker.c1320 sym_name, btf_kflag(t1) ? "union" : "struct", btf_kind_str(t2)); in glob_sym_btf_matches()
1327 sym_name, btf_kflag(t2) ? "union" : "struct", btf_kind_str(t1)); in glob_sym_btf_matches()
1334 sym_name, btf_kind_str(t1), btf_kind_str(t2)); in glob_sym_btf_matches()
1349 sym_name, btf_kind_str(t1), n1, n2); in glob_sym_btf_matches()
1367 sym_name, btf_kind_str(t1), n1, t1->size, t2->size); in glob_sym_btf_matches()
1418 sym_name, btf_kind_str(t1), btf_vlen(t1), btf_vlen(t2)); in glob_sym_btf_matches()
1449 sym_name, btf_kind_str(t1), btf_vlen(t1), btf_vlen(t2)); in glob_sym_btf_matches()
1477 sym_name, btf_kind_str(t1)); in glob_sym_btf_matches()
1627 btf_kind_str(src_t), sym_name); in glob_syms_match()
A Drelo_core.c276 type_id, spec_str, i, id, btf_kind_str(t)); in bpf_core_parse_spec()
1060 libbpf_print(level, "[%u] %s %s", type_id, btf_kind_str(t), str_is_empty(s) ? "<anon>" : s); in bpf_core_dump_spec()
1176 prog_name, relo_idx, local_id, btf_kind_str(local_type), in bpf_core_apply_relo_insn()
A Dlibbpf_internal.h174 const char *btf_kind_str(const struct btf_type *t);
A Dlibbpf.c2105 map_name, name, btf_kind_str(t)); in get_map_field_int()
2117 map_name, name, btf_kind_str(arr_t)); in get_map_field_int()
2199 map_name, btf_kind_str(t)); in parse_btf_map_def()
2239 map_name, btf_kind_str(t)); in parse_btf_map_def()
2296 map_name, btf_kind_str(t)); in parse_btf_map_def()
2302 map_name, btf_kind_str(t)); in parse_btf_map_def()
2435 map_name, btf_kind_str(var)); in bpf_object__init_user_btf_map()
2447 map_name, btf_kind_str(var)); in bpf_object__init_user_btf_map()
3688 btf_kind_str(vt), ext_name); in bpf_object__collect_externs()
5123 local_cand->id, btf_kind_str(local_cand->t), in bpf_core_add_cands()
[all …]
/linux/kernel/bpf/
A Dbtf.c266 static const char * const btf_kind_str[NR_BTF_KINDS] = { variable
289 return btf_kind_str[BTF_INFO_KIND(t->info)]; in btf_type_str()
1330 btf_kind_str[kind], in __btf_verifier_log_type()
4898 btf_kind_str[BTF_INFO_KIND(t->info)]); in btf_ctx_access()
4925 btf_kind_str[BTF_INFO_KIND(t->info)]); in btf_ctx_access()
4998 tname, arg, btf_kind_str[BTF_INFO_KIND(t->info)]); in btf_ctx_access()
5002 tname, arg, info->btf_id, btf_kind_str[BTF_INFO_KIND(t->info)], in btf_ctx_access()
5385 tname, btf_kind_str[BTF_INFO_KIND(t->info)]); in btf_distill_func_proto()
5401 tname, i, btf_kind_str[BTF_INFO_KIND(t->info)]); in btf_distill_func_proto()
5855 i, btf_kind_str[BTF_INFO_KIND(t->info)], tname); in btf_prepare_func_args()

Completed in 54 milliseconds