Searched refs:attach_type_name (Results 1 - 2 of 2) sorted by relevance

/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dlibbpf_str.c41 const char *attach_type_name; local
48 attach_type_name = btf__str_by_offset(btf, e->name_off);
50 ASSERT_OK_PTR(attach_type_str, attach_type_name);
55 ASSERT_STREQ(buf, attach_type_name, "exp_str_value");
/linux-master/tools/lib/bpf/
H A Dlibbpf.c78 static const char * const attach_type_name[] = { variable
9545 if (t < 0 || t >= ARRAY_SIZE(attach_type_name))
9548 return attach_type_name[t];

Completed in 222 milliseconds