Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/
A Dbtf_helpers.c81 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/tools/bpf/bpftool/
A Dbtf.c100 static const char *btf_str(const struct btf *btf, __u32 off) in btf_str() function
122 jsonw_string_field(w, "name", btf_str(btf, t->name_off)); in dump_btf_type()
125 btf_str(btf, t->name_off)); in dump_btf_type()
186 const char *name = btf_str(btf, m->name_off); in dump_btf_type()
235 const char *name = btf_str(btf, v->name_off); in dump_btf_type()
273 const char *name = btf_str(btf, v->name_off); in dump_btf_type()
332 const char *name = btf_str(btf, p->name_off); in dump_btf_type()
390 btf_str(btf, vt->name_off)); in dump_btf_type()

Completed in 9 milliseconds