Lines Matching refs:f_header
490 struct perf_pipe_file_header f_header;
493 f_header = (struct perf_pipe_file_header){
495 .size = sizeof(f_header),
498 err = do_write(fd, &f_header, sizeof(f_header));
509 struct perf_file_header f_header;
514 lseek(fd, sizeof(f_header), SEEK_SET);
565 f_header = (struct perf_file_header){
567 .size = sizeof(f_header),
583 memcpy(&f_header.adds_features, &self->adds_features, sizeof(self->adds_features));
586 err = do_write(fd, &f_header, sizeof(f_header));
832 struct perf_pipe_file_header f_header;
834 if (perf_file_header__read_pipe(&f_header, self, fd,
848 struct perf_file_header f_header;
856 if (perf_file_header__read(&f_header, self, fd) < 0) {
861 nr_attrs = f_header.attrs.size / sizeof(f_attr);
862 lseek(fd, f_header.attrs.offset, SEEK_SET);
897 if (f_header.event_types.size) {
898 lseek(fd, f_header.event_types.offset, SEEK_SET);
899 events = malloc(f_header.event_types.size);
903 f_header.event_types.size))
905 event_count = f_header.event_types.size / sizeof(struct perf_trace_event_type);