Searched refs:feat_sec (Results 1 – 1 of 1) sorted by relevance
3589 struct perf_file_section *feat_sec, *p; in perf_header__adds_write() local3604 feat_sec = p = calloc(nr_sections, sizeof(*feat_sec)); in perf_header__adds_write()3605 if (feat_sec == NULL) in perf_header__adds_write()3608 sec_size = sizeof(*feat_sec) * nr_sections; in perf_header__adds_write()3623 err = do_write(&ff, feat_sec, sec_size); in perf_header__adds_write()3626 free(feat_sec); in perf_header__adds_write()3787 struct perf_file_section *feat_sec, *sec; in perf_header__process_sections() local3797 feat_sec = sec = calloc(nr_sections, sizeof(*feat_sec)); in perf_header__process_sections()3798 if (!feat_sec) in perf_header__process_sections()3801 sec_size = sizeof(*feat_sec) * nr_sections; in perf_header__process_sections()[all …]