Searched refs:nr_sections (Results 1 – 3 of 3) sorted by relevance
17 size_t nr_sections; in orc_dump() local48 if (elf_getshdrnum(elf, &nr_sections)) { in orc_dump()58 for (i = 0; i < nr_sections; i++) { in orc_dump()
3910 int nr_sections; in perf_header__adds_write() local3921 nr_sections = bitmap_weight(header->adds_features, HEADER_FEAT_BITS); in perf_header__adds_write()3922 if (!nr_sections) in perf_header__adds_write()3925 feat_sec = p = calloc(nr_sections, sizeof(*feat_sec)); in perf_header__adds_write()3929 sec_size = sizeof(*feat_sec) * nr_sections; in perf_header__adds_write()4146 int nr_sections; in perf_header__process_sections() local4151 nr_sections = bitmap_weight(header->adds_features, HEADER_FEAT_BITS); in perf_header__process_sections()4152 if (!nr_sections) in perf_header__process_sections()4155 feat_sec = sec = calloc(nr_sections, sizeof(*feat_sec)); in perf_header__process_sections()4159 sec_size = sizeof(*feat_sec) * nr_sections; in perf_header__process_sections()
66 .word section_count # nr_sections