Searched refs:nr_sections (Results 1 – 3 of 3) sorted by relevance
70 size_t nr_sections; in orc_dump() local97 if (elf_getshdrnum(elf, &nr_sections)) { in orc_dump()107 for (i = 0; i < nr_sections; i++) { in orc_dump()
3546 int nr_sections; in perf_header__adds_write() local3559 nr_sections = bitmap_weight(header->adds_features, HEADER_FEAT_BITS); in perf_header__adds_write()3560 if (!nr_sections) in perf_header__adds_write()3563 feat_sec = p = calloc(nr_sections, sizeof(*feat_sec)); in perf_header__adds_write()3567 sec_size = sizeof(*feat_sec) * nr_sections; in perf_header__adds_write()3747 int nr_sections; in perf_header__process_sections() local3752 nr_sections = bitmap_weight(header->adds_features, HEADER_FEAT_BITS); in perf_header__process_sections()3753 if (!nr_sections) in perf_header__process_sections()3756 feat_sec = sec = calloc(nr_sections, sizeof(*feat_sec)); in perf_header__process_sections()3760 sec_size = sizeof(*feat_sec) * nr_sections; in perf_header__process_sections()
111 .word section_count # nr_sections