| /linux-6.15/tools/testing/selftests/bpf/ |
| H A D | btf_helpers.c | 32 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.15/tools/lib/bpf/ |
| H A D | relo_core.c | 11 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() 1196 type_id, btf_kind_str(t), str_is_empty(s) ? "<anon>" : s); in bpf_core_format_spec() 1326 prog_name, relo_idx, local_id, btf_kind_str(local_type), in bpf_core_calc_relo_insn() 1700 btf_kind_str(local_t), local_id, targ_id); in __bpf_core_types_match()
|
| H A D | linker.c | 1513 sym_name, btf_kflag(t1) ? "union" : "struct", btf_kind_str(t2)); in glob_sym_btf_matches() 1520 sym_name, btf_kflag(t2) ? "union" : "struct", btf_kind_str(t1)); in glob_sym_btf_matches() 1527 sym_name, btf_kind_str(t1), btf_kind_str(t2)); in glob_sym_btf_matches() 1543 sym_name, btf_kind_str(t1), n1, n2); in glob_sym_btf_matches() 1562 sym_name, btf_kind_str(t1), n1, t1->size, t2->size); in glob_sym_btf_matches() 1613 sym_name, btf_kind_str(t1), btf_vlen(t1), btf_vlen(t2)); in glob_sym_btf_matches() 1644 sym_name, btf_kind_str(t1), btf_vlen(t1), btf_vlen(t2)); in glob_sym_btf_matches() 1672 sym_name, btf_kind_str(t1)); in glob_sym_btf_matches() 1822 btf_kind_str(src_t), sym_name); in glob_syms_match()
|
| H A D | libbpf_internal.h | 236 const char *btf_kind_str(const struct btf_type *t);
|
| H A D | libbpf.c | 2454 map_name, name, btf_kind_str(t)); in get_map_field_int() 2466 map_name, name, btf_kind_str(arr_t)); in get_map_field_int() 2492 map_name, name, btf_kind_str(t)); in get_map_field_long() 2606 map_name, btf_kind_str(t)); in parse_btf_map_def() 2646 map_name, btf_kind_str(t)); in parse_btf_map_def() 2706 map_name, desc, btf_kind_str(t)); in parse_btf_map_def() 2713 map_name, btf_kind_str(t)); in parse_btf_map_def() 2720 map_name, btf_kind_str(t)); in parse_btf_map_def() 2894 map_name, btf_kind_str(var)); in bpf_object__init_user_btf_map() 2906 map_name, btf_kind_str(var)); in bpf_object__init_user_btf_map() [all …]
|
| /linux-6.15/tools/bpf/bpftool/ |
| H A D | btf.c | 32 static const char * const btf_kind_str[NR_BTF_KINDS] = { variable 128 jsonw_string_field(w, "kind", btf_kind_str[btf_kind_safe(kind)]); in dump_btf_type() 131 printf("[%u] %s '%s'", id, btf_kind_str[btf_kind_safe(kind)], in dump_btf_type() 396 btf_kind_str[btf_kind_safe(btf_kind(vt))], in dump_btf_type()
|
| H A D | gen.c | 2098 p_err("unsupported kind: %s (%u)", 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 (%u)", btf_kind_str(btf_type), type_id); in btfgen_mark_type_match()
|
| /linux-6.15/kernel/bpf/ |
| H A D | btf.c | 323 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() 9267 btf_kind_str[cc->kind], cc->name, cc->cands[i].id); in bpf_core_apply()
|