Searched refs:btf_str (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/tools/testing/selftests/bpf/ |
D | btf_helpers.c | 81 static const char *btf_str(const struct btf *btf, __u32 off) in btf_str() function 101 fprintf(out, "[%u] %s '%s'", id, btf_kind_str(kind), btf_str(btf, t->name_off)); in fprintf_btf_type_raw() 135 btf_str(btf, m->name_off), m->type, bit_off); in fprintf_btf_type_raw() 150 btf_str(btf, v->name_off), v->val); in fprintf_btf_type_raw() 164 btf_str(btf, v->name_off), in fprintf_btf_type_raw() 181 btf_str(btf, p->name_off), p->type); in fprintf_btf_type_raw()
|
/linux-6.1.9/tools/bpf/bpftool/ |
D | btf.c | 90 static const char *btf_str(const struct btf *btf, __u32 off) in btf_str() function 112 jsonw_string_field(w, "name", btf_str(btf, t->name_off)); in dump_btf_type() 115 btf_str(btf, t->name_off)); in dump_btf_type() 176 const char *name = btf_str(btf, m->name_off); in dump_btf_type() 225 const char *name = btf_str(btf, v->name_off); in dump_btf_type() 263 const char *name = btf_str(btf, v->name_off); in dump_btf_type() 322 const char *name = btf_str(btf, p->name_off); in dump_btf_type() 380 btf_str(btf, vt->name_off)); in dump_btf_type()
|