Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/
H A 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/tools/lib/bpf/
H A Drelo_core.c11 static const char *btf_kind_str(const struct btf_type *t) in btf_kind_str() function
220 btf_kind_str(local_type), local_id, targ_id); in __bpf_core_types_are_compat()
388 prog_name, relo->type_id, spec_str, i, id, btf_kind_str(t)); in bpf_core_parse_spec()
1197 type_id, btf_kind_str(t), str_is_empty(s) ? "<anon>" : s); in bpf_core_format_spec()
1327 prog_name, relo_idx, local_id, btf_kind_str(local_type), in bpf_core_calc_relo_insn()
1701 btf_kind_str(local_t), local_id, targ_id); in __bpf_core_types_match()
H A Dlinker.c1512 sym_name, btf_kflag(t1) ? "union" : "struct", btf_kind_str(t2)); in glob_sym_btf_matches()
1519 sym_name, btf_kflag(t2) ? "union" : "struct", btf_kind_str(t1)); in glob_sym_btf_matches()
1526 sym_name, btf_kind_str(t1), btf_kind_str(t2)); in glob_sym_btf_matches()
1542 sym_name, btf_kind_str(t1), n1, n2); in glob_sym_btf_matches()
1561 sym_name, btf_kind_str(t1), n1, t1->size, t2->size); in glob_sym_btf_matches()
1612 sym_name, btf_kind_str(t1), btf_vlen(t1), btf_vlen(t2)); in glob_sym_btf_matches()
1643 sym_name, btf_kind_str(t1), btf_vlen(t1), btf_vlen(t2)); in glob_sym_btf_matches()
1671 sym_name, btf_kind_str(t1)); in glob_sym_btf_matches()
1821 btf_kind_str(src_t), sym_name); in glob_syms_match()
H A Dlibbpf_internal.h248 const char *btf_kind_str(const struct btf_type *t);
H A Dlibbpf.c2485 const char *btf_kind_str(const struct btf_type *t) in btf_kind_str() function
2507 map_name, name, btf_kind_str(t)); in get_map_field_int()
2519 map_name, name, btf_kind_str(arr_t)); in get_map_field_int()
2545 map_name, name, btf_kind_str(t)); in get_map_field_long()
2659 map_name, btf_kind_str(t)); in parse_btf_map_def()
2699 map_name, btf_kind_str(t)); in parse_btf_map_def()
2759 map_name, desc, btf_kind_str(t)); in parse_btf_map_def()
2766 map_name, btf_kind_str(t)); in parse_btf_map_def()
2773 map_name, btf_kind_str(t)); in parse_btf_map_def()
2947 map_name, btf_kind_str(var)); in bpf_object__init_user_btf_map()
[all …]
/linux/tools/bpf/bpftool/
H A Dbtf.c33 static const char * const btf_kind_str[NR_BTF_KINDS] = { variable
129 jsonw_string_field(w, "kind", btf_kind_str[btf_kind_safe(kind)]); in dump_btf_type()
132 printf("[%u] %s '%s'", id, btf_kind_str[btf_kind_safe(kind)], in dump_btf_type()
391 btf_kind_str[btf_kind_safe(btf_kind(vt))], in dump_btf_type()
H A Dgen.c2190 p_err("unsupported kind: %s (%u)", btf_kind_str(btf_type), type_id); in btfgen_mark_type()
2243 btf_kind_str(btf_type), btf_type->type); in btfgen_record_field_relo()
2342 p_err("unsupported kind: %s (%u)", btf_kind_str(btf_type), type_id); in btfgen_mark_type_match()
/linux/kernel/bpf/
H A Dbtf.c327 static const char * const btf_kind_str[NR_BTF_KINDS] = { variable
352 return btf_kind_str[BTF_INFO_KIND(t->info)]; in btf_type_str()
9756 btf_kind_str[cc->kind], cc->name, cc->cands[i].id); in bpf_core_apply()