Home
last modified time | relevance | path

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

/linux-6.12.1/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.12.1/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()
1684 btf_kind_str(local_t), local_id, targ_id); in __bpf_core_types_match()
Dlinker.c1361 sym_name, btf_kflag(t1) ? "union" : "struct", btf_kind_str(t2)); in glob_sym_btf_matches()
1368 sym_name, btf_kflag(t2) ? "union" : "struct", btf_kind_str(t1)); in glob_sym_btf_matches()
1375 sym_name, btf_kind_str(t1), btf_kind_str(t2)); in glob_sym_btf_matches()
1391 sym_name, btf_kind_str(t1), n1, n2); in glob_sym_btf_matches()
1410 sym_name, btf_kind_str(t1), n1, t1->size, t2->size); in glob_sym_btf_matches()
1461 sym_name, btf_kind_str(t1), btf_vlen(t1), btf_vlen(t2)); in glob_sym_btf_matches()
1492 sym_name, btf_kind_str(t1), btf_vlen(t1), btf_vlen(t2)); in glob_sym_btf_matches()
1520 sym_name, btf_kind_str(t1)); in glob_sym_btf_matches()
1670 btf_kind_str(src_t), sym_name); in glob_syms_match()
Dlibbpf_internal.h235 const char *btf_kind_str(const struct btf_type *t);
Dlibbpf.c2394 const char *btf_kind_str(const struct btf_type *t) in btf_kind_str() function
2416 map_name, name, btf_kind_str(t)); in get_map_field_int()
2428 map_name, name, btf_kind_str(arr_t)); in get_map_field_int()
2454 map_name, name, btf_kind_str(t)); in get_map_field_long()
2568 map_name, btf_kind_str(t)); in parse_btf_map_def()
2608 map_name, btf_kind_str(t)); in parse_btf_map_def()
2668 map_name, desc, btf_kind_str(t)); in parse_btf_map_def()
2675 map_name, btf_kind_str(t)); in parse_btf_map_def()
2682 map_name, btf_kind_str(t)); in parse_btf_map_def()
2856 map_name, btf_kind_str(var)); in bpf_object__init_user_btf_map()
[all …]
/linux-6.12.1/tools/bpf/bpftool/
Dbtf.c25 static const char * const btf_kind_str[NR_BTF_KINDS] = { variable
121 jsonw_string_field(w, "kind", btf_kind_str[btf_kind_safe(kind)]); in dump_btf_type()
124 printf("[%u] %s '%s'", id, btf_kind_str[btf_kind_safe(kind)], in dump_btf_type()
389 btf_kind_str[btf_kind_safe(btf_kind(vt))], in dump_btf_type()
Dgen.c2098 p_err("unsupported kind: %s (%d)", btf_kind_str(btf_type), type_id); in btfgen_mark_type()
2151 btf_kind_str(btf_type), btf_type->type); in btfgen_record_field_relo()
2249 p_err("unsupported kind: %s (%d)", btf_kind_str(btf_type), type_id); in btfgen_mark_type_match()
/linux-6.12.1/kernel/bpf/
Dbtf.c323 static const char * const btf_kind_str[NR_BTF_KINDS] = { variable
348 return btf_kind_str[BTF_INFO_KIND(t->info)]; in btf_type_str()
8996 btf_kind_str[cc->kind], cc->name, cc->cands[i].id); in bpf_core_apply()