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.c79 static const char *btf_str(const struct btf *btf, __u32 off) in btf_str() function
99 fprintf(out, "[%u] %s '%s'", id, btf_kind_str(kind), btf_str(btf, t->name_off)); in fprintf_btf_type_raw()
132 btf_str(btf, m->name_off), m->type, bit_off); in fprintf_btf_type_raw()
144 btf_str(btf, v->name_off), v->val); in fprintf_btf_type_raw()
160 btf_str(btf, p->name_off), p->type); in fprintf_btf_type_raw()
/linux/tools/bpf/bpftool/
A Dbtf.c93 static const char *btf_str(const struct btf *btf, __u32 off) in btf_str() function
115 jsonw_string_field(w, "name", btf_str(btf, t->name_off)); in dump_btf_type()
118 btf_str(btf, t->name_off)); in dump_btf_type()
178 const char *name = btf_str(btf, m->name_off); in dump_btf_type()
224 const char *name = btf_str(btf, v->name_off); in dump_btf_type()
274 const char *name = btf_str(btf, p->name_off); in dump_btf_type()
332 btf_str(btf, vt->name_off)); in dump_btf_type()

Completed in 5 milliseconds