Home
last modified time | relevance | path

Searched refs:btf_kind_str (Results 1 – 6 of 6) 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 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.c2456 const char *btf_kind_str(const struct btf_type *t) in btf_kind_str() function
2478 map_name, name, btf_kind_str(t)); in get_map_field_int()
2490 map_name, name, btf_kind_str(arr_t)); in get_map_field_int()
2516 map_name, name, btf_kind_str(t)); in get_map_field_long()
2630 map_name, btf_kind_str(t)); in parse_btf_map_def()
2670 map_name, btf_kind_str(t)); in parse_btf_map_def()
2730 map_name, desc, btf_kind_str(t)); in parse_btf_map_def()
2737 map_name, btf_kind_str(t)); in parse_btf_map_def()
2744 map_name, btf_kind_str(t)); in parse_btf_map_def()
2918 map_name, btf_kind_str(var)); in bpf_object__init_user_btf_map()
[all …]
H A Dlibbpf_internal.h248 const char *btf_kind_str(const struct btf_type *t);
/linux/tools/bpf/bpftool/
H A Dbtf.c32 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()
/linux/kernel/bpf/
H A Dbtf.c326 static const char * const btf_kind_str[NR_BTF_KINDS] = { variable
351 return btf_kind_str[BTF_INFO_KIND(t->info)]; in btf_type_str()
9493 btf_kind_str[cc->kind], cc->name, cc->cands[i].id); in bpf_core_apply()