Lines Matching refs:feat_sec
428 struct perf_file_section *feat_sec;
441 feat_sec = calloc(sizeof(*feat_sec), nr_sections);
442 if (feat_sec == NULL)
445 sec_size = sizeof(*feat_sec) * nr_sections;
453 trace_sec = &feat_sec[idx++];
464 buildid_sec = &feat_sec[idx++];
480 err = do_write(fd, feat_sec, sec_size);
484 free(feat_sec);
614 struct perf_file_section *feat_sec;
624 feat_sec = calloc(sizeof(*feat_sec), nr_sections);
625 if (!feat_sec)
628 sec_size = sizeof(*feat_sec) * nr_sections;
632 if (perf_header__getbuffer64(self, fd, feat_sec, sec_size))
638 struct perf_file_section *sec = &feat_sec[idx++];
647 free(feat_sec);