/openbmc/linux/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()
|
/openbmc/linux/tools/bpf/bpftool/ |
H A D | btf.c | 23 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()
|
H A D | gen.c | 1795 p_err("unsupported kind: %s (%d)", btf_kind_str(btf_type), type_id); in btfgen_mark_type() 1848 btf_kind_str(btf_type), btf_type->type); in btfgen_record_field_relo() 1946 p_err("unsupported kind: %s (%d)", btf_kind_str(btf_type), type_id); in btfgen_mark_type_match()
|
/openbmc/linux/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() 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()
|
H A D | linker.c | 1324 sym_name, btf_kflag(t1) ? "union" : "struct", btf_kind_str(t2)); in glob_sym_btf_matches() 1331 sym_name, btf_kflag(t2) ? "union" : "struct", btf_kind_str(t1)); in glob_sym_btf_matches() 1338 sym_name, btf_kind_str(t1), btf_kind_str(t2)); in glob_sym_btf_matches() 1354 sym_name, btf_kind_str(t1), n1, n2); in glob_sym_btf_matches() 1373 sym_name, btf_kind_str(t1), n1, t1->size, t2->size); in glob_sym_btf_matches() 1424 sym_name, btf_kind_str(t1), btf_vlen(t1), btf_vlen(t2)); in glob_sym_btf_matches() 1455 sym_name, btf_kind_str(t1), btf_vlen(t1), btf_vlen(t2)); in glob_sym_btf_matches() 1483 sym_name, btf_kind_str(t1)); in glob_sym_btf_matches() 1633 btf_kind_str(src_t), sym_name); in glob_syms_match()
|
H A D | libbpf_internal.h | 234 const char *btf_kind_str(const struct btf_type *t);
|
H A D | libbpf.c | 2122 const char *btf_kind_str(const struct btf_type *t) in btf_kind_str() function 2144 map_name, name, btf_kind_str(t)); in get_map_field_int() 2156 map_name, name, btf_kind_str(arr_t)); in get_map_field_int() 2256 map_name, btf_kind_str(t)); in parse_btf_map_def() 2296 map_name, btf_kind_str(t)); in parse_btf_map_def() 2356 map_name, desc, btf_kind_str(t)); in parse_btf_map_def() 2363 map_name, btf_kind_str(t)); in parse_btf_map_def() 2370 map_name, btf_kind_str(t)); in parse_btf_map_def() 2544 map_name, btf_kind_str(var)); in bpf_object__init_user_btf_map() 2556 map_name, btf_kind_str(var)); in bpf_object__init_user_btf_map() [all …]
|
/openbmc/linux/kernel/bpf/ |
H A D | btf.c | 313 static const char * const btf_kind_str[NR_BTF_KINDS] = { variable 338 return btf_kind_str[BTF_INFO_KIND(t->info)]; in btf_type_str() 8470 btf_kind_str[cc->kind], cc->name, cc->cands[i].id); in bpf_core_apply()
|