Searched refs:nr_sections (Results 1 – 3 of 3) sorted by relevance
69 size_t nr_sections; in orc_dump() local96 if (elf_getshdrnum(elf, &nr_sections)) { in orc_dump()106 for (i = 0; i < nr_sections; i++) { in orc_dump()
3242 int nr_sections; in perf_header__adds_write() local3255 nr_sections = bitmap_weight(header->adds_features, HEADER_FEAT_BITS); in perf_header__adds_write()3256 if (!nr_sections) in perf_header__adds_write()3259 feat_sec = p = calloc(nr_sections, sizeof(*feat_sec)); in perf_header__adds_write()3263 sec_size = sizeof(*feat_sec) * nr_sections; in perf_header__adds_write()3405 int nr_sections; in perf_header__process_sections() local3410 nr_sections = bitmap_weight(header->adds_features, HEADER_FEAT_BITS); in perf_header__process_sections()3411 if (!nr_sections) in perf_header__process_sections()3414 feat_sec = sec = calloc(nr_sections, sizeof(*feat_sec)); in perf_header__process_sections()3418 sec_size = sizeof(*feat_sec) * nr_sections; in perf_header__process_sections()
111 .word section_count # nr_sections