Home
last modified time | relevance | path

Searched refs:btf_str (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.15/tools/testing/selftests/bpf/
Dbtf_helpers.c78 static const char *btf_str(const struct btf *btf, __u32 off) in btf_str() function
98 fprintf(out, "[%u] %s '%s'", id, btf_kind_str(kind), btf_str(btf, t->name_off)); in fprintf_btf_type_raw()
131 btf_str(btf, m->name_off), m->type, bit_off); in fprintf_btf_type_raw()
143 btf_str(btf, v->name_off), v->val); in fprintf_btf_type_raw()
159 btf_str(btf, p->name_off), p->type); in fprintf_btf_type_raw()
/Linux-v5.15/tools/bpf/bpftool/
Dbtf.c96 static const char *btf_str(const struct btf *btf, __u32 off) in btf_str() function
118 jsonw_string_field(w, "name", btf_str(btf, t->name_off)); in dump_btf_type()
121 btf_str(btf, t->name_off)); in dump_btf_type()
181 const char *name = btf_str(btf, m->name_off); in dump_btf_type()
227 const char *name = btf_str(btf, v->name_off); in dump_btf_type()
277 const char *name = btf_str(btf, p->name_off); in dump_btf_type()
335 btf_str(btf, vt->name_off)); in dump_btf_type()