Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/bpf/
Dbtf_helpers.c32 static const char *btf_kind_str(__u16 kind) in btf_kind_str() function
101 fprintf(out, "[%u] %s '%s'", id, btf_kind_str(kind), btf_str(btf, t->name_off)); in fprintf_btf_type_raw()
/linux-6.1.9/tools/bpf/bpftool/
Dbtf.c23 static const char * const btf_kind_str[NR_BTF_KINDS] = { variable
111 jsonw_string_field(w, "kind", btf_kind_str[btf_kind_safe(kind)]); in dump_btf_type()
114 printf("[%u] %s '%s'", id, btf_kind_str[btf_kind_safe(kind)], in dump_btf_type()
379 btf_kind_str[btf_kind_safe(btf_kind(vt))], in dump_btf_type()
Dgen.c1799 p_err("unsupported kind: %s (%d)", btf_kind_str(btf_type), type_id); in btfgen_mark_type()
1852 btf_kind_str(btf_type), btf_type->type); in btfgen_record_field_relo()
1950 p_err("unsupported kind: %s (%d)", btf_kind_str(btf_type), type_id); in btfgen_mark_type_match()
/linux-6.1.9/tools/lib/bpf/
Drelo_core.c11 static const char *btf_kind_str(const struct btf_type *t) in btf_kind_str() function
221 btf_kind_str(local_type), local_id, targ_id); in __bpf_core_types_are_compat()
387 prog_name, relo->type_id, spec_str, i, id, btf_kind_str(t)); in bpf_core_parse_spec()
1180 type_id, btf_kind_str(t), str_is_empty(s) ? "<anon>" : s); in bpf_core_format_spec()
1310 prog_name, relo_idx, local_id, btf_kind_str(local_type), in bpf_core_calc_relo_insn()
1687 btf_kind_str(local_t), local_id, targ_id); in __bpf_core_types_match()
Dlinker.c1316 sym_name, btf_kflag(t1) ? "union" : "struct", btf_kind_str(t2)); in glob_sym_btf_matches()
1323 sym_name, btf_kflag(t2) ? "union" : "struct", btf_kind_str(t1)); in glob_sym_btf_matches()
1330 sym_name, btf_kind_str(t1), btf_kind_str(t2)); in glob_sym_btf_matches()
1346 sym_name, btf_kind_str(t1), n1, n2); in glob_sym_btf_matches()
1365 sym_name, btf_kind_str(t1), n1, t1->size, t2->size); in glob_sym_btf_matches()
1416 sym_name, btf_kind_str(t1), btf_vlen(t1), btf_vlen(t2)); in glob_sym_btf_matches()
1447 sym_name, btf_kind_str(t1), btf_vlen(t1), btf_vlen(t2)); in glob_sym_btf_matches()
1475 sym_name, btf_kind_str(t1)); in glob_sym_btf_matches()
1625 btf_kind_str(src_t), sym_name); in glob_syms_match()
Dlibbpf_internal.h219 const char *btf_kind_str(const struct btf_type *t);
Dlibbpf.c2062 const char *btf_kind_str(const struct btf_type *t) in btf_kind_str() function
2084 map_name, name, btf_kind_str(t)); in get_map_field_int()
2096 map_name, name, btf_kind_str(arr_t)); in get_map_field_int()
2196 map_name, btf_kind_str(t)); in parse_btf_map_def()
2236 map_name, btf_kind_str(t)); in parse_btf_map_def()
2296 map_name, desc, btf_kind_str(t)); in parse_btf_map_def()
2303 map_name, btf_kind_str(t)); in parse_btf_map_def()
2310 map_name, btf_kind_str(t)); in parse_btf_map_def()
2484 map_name, btf_kind_str(var)); in bpf_object__init_user_btf_map()
2496 map_name, btf_kind_str(var)); in bpf_object__init_user_btf_map()
[all …]
/linux-6.1.9/kernel/bpf/
Dbtf.c292 static const char * const btf_kind_str[NR_BTF_KINDS] = { variable
317 return btf_kind_str[BTF_INFO_KIND(t->info)]; in btf_type_str()
8008 btf_kind_str[cc->kind], cc->name, cc->cands[i].id); in bpf_core_apply()