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.c3910 int nr_sections; in perf_header__adds_write() local
3921 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() local
4151 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()
/linux/arch/x86/boot/
H A Dheader.S66 .word section_count # nr_sections