Home
last modified time | relevance | path

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

/linux-6.12.1/tools/lib/bpf/
Dlibbpf.c9358 static const struct bpf_sec_def section_defs[] = { variable
9591 n = ARRAY_SIZE(section_defs); in find_sec_def()
9593 sec_def = &section_defs[i]; in find_sec_def()
9608 int i, len = ARRAY_SIZE(section_defs) * MAX_TYPE_NAME_SIZE; in libbpf_get_type_names()
9617 for (i = 0; i < ARRAY_SIZE(section_defs); i++) { in libbpf_get_type_names()
9618 const struct bpf_sec_def *sec_def = &section_defs[i]; in libbpf_get_type_names()
9628 if (strlen(buf) + strlen(section_defs[i].sec) + 2 > len) { in libbpf_get_type_names()
9633 strcat(buf, section_defs[i].sec); in libbpf_get_type_names()