Searched refs:feat_sec (Results 1 – 1 of 1) sorted by relevance
2038 struct perf_file_section *feat_sec, *p; in perf_header__adds_write() local2048 feat_sec = p = calloc(nr_sections, sizeof(*feat_sec)); in perf_header__adds_write()2049 if (feat_sec == NULL) in perf_header__adds_write()2052 sec_size = sizeof(*feat_sec) * nr_sections; in perf_header__adds_write()2067 err = do_write(fd, feat_sec, sec_size); in perf_header__adds_write()2070 free(feat_sec); in perf_header__adds_write()2188 struct perf_file_section *feat_sec, *sec; in perf_header__process_sections() local2198 feat_sec = sec = calloc(nr_sections, sizeof(*feat_sec)); in perf_header__process_sections()2199 if (!feat_sec) in perf_header__process_sections()2202 sec_size = sizeof(*feat_sec) * nr_sections; in perf_header__process_sections()[all …]