Searched refs:feat_sec (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/tools/perf/util/
H A Dheader.c1943 struct perf_file_section *feat_sec, *p; perf_header__adds_write() local
1953 feat_sec = p = calloc(nr_sections, sizeof(*feat_sec)); perf_header__adds_write()
1954 if (feat_sec == NULL) perf_header__adds_write()
1957 sec_size = sizeof(*feat_sec) * nr_sections; perf_header__adds_write()
1972 err = do_write(fd, feat_sec, sec_size); perf_header__adds_write()
1975 free(feat_sec); perf_header__adds_write()
2093 struct perf_file_section *feat_sec, *sec; perf_header__process_sections() local
2103 feat_sec = sec = calloc(nr_sections, sizeof(*feat_sec)); perf_header__process_sections()
2104 if (!feat_sec) perf_header__process_sections()
2107 sec_size = sizeof(*feat_sec) * nr_sections; perf_header__process_sections()
2111 err = perf_header__getbuffer64(header, fd, feat_sec, sec_size); perf_header__process_sections()
2122 free(feat_sec); perf_header__process_sections()

Completed in 97 milliseconds