Lines Matching defs:fh
60 first_header fh;
63 FillFirstHeader(start_sec, pid, &fh);
64 fwrite(&fh, sizeof(fh), 1, ftrace_);
69 first_header *fh) {
74 fh->common.blockno = 0;
75 fh->common.entry_width = 8;
76 fh->common.block_tic = kBaseTic;
77 fh->common.block_time = start_sec;
78 //fh->common.usec_cpu = (start_usec << 8) | (cpu & 0xff);
79 fh->common.usec_cpu = cpu & 0xff;
80 fh->common.pid = pid;
81 fh->common.bug_count = 0;
82 fh->common.zero_count = 0;
84 fh->tic = kBaseTic + 1;
85 fh->one = 1;
86 fh->tics_per_second = kTicsPerSecond;
87 fh->trace_time = start_sec;
88 fh->version = 5;
89 fh->file_proc = (max_files << 8) | max_procedures;
90 fh->pdate = pdate_;
91 fh->ptime = ptime_;