Searched refs:attach_type_name (Results 1 – 2 of 2) sorted by relevance
41 const char *attach_type_name; in test_libbpf_bpf_attach_type_str() local48 attach_type_name = btf__str_by_offset(btf, e->name_off); in test_libbpf_bpf_attach_type_str()50 ASSERT_OK_PTR(attach_type_str, attach_type_name); in test_libbpf_bpf_attach_type_str()55 ASSERT_STREQ(buf, attach_type_name, "exp_str_value"); in test_libbpf_bpf_attach_type_str()
74 static const char * const attach_type_name[] = { variable9070 if (t < 0 || t >= ARRAY_SIZE(attach_type_name)) in libbpf_bpf_attach_type_str()9073 return attach_type_name[t]; in libbpf_bpf_attach_type_str()