Home
last modified time | relevance | path

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

/linux/tools/perf/util/
H A Dheader.c3600 int nr_sections; in perf_header__adds_write() local
3611 nr_sections = bitmap_weight(header->adds_features, HEADER_FEAT_BITS); in perf_header__adds_write()
3612 if (!nr_sections) in perf_header__adds_write()
3615 feat_sec = p = calloc(nr_sections, sizeof(*feat_sec)); in perf_header__adds_write()
3619 sec_size = sizeof(*feat_sec) * nr_sections; in perf_header__adds_write()
3836 int nr_sections; in perf_header__process_sections() local
3841 nr_sections = bitmap_weight(header->adds_features, HEADER_FEAT_BITS); in perf_header__process_sections()
3842 if (!nr_sections) in perf_header__process_sections()
3845 feat_sec = sec = calloc(nr_sections, sizeof(*feat_sec)); in perf_header__process_sections()
3849 sec_size = sizeof(*feat_sec) * nr_sections; in perf_header__process_sections()
/linux/arch/x86/boot/
H A Dheader.S66 .word section_count # nr_sections