libbpf_attach_type_by_name
LIBBPF_API int libbpf_attach_type_by_name(const char *name,
rc = libbpf_attach_type_by_name(test->sec_name, &attach_type);