Home
last modified time | relevance | path

Searched refs:output_fd (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/tools/perf/util/
Dtrace-event-info.c56 static int output_fd; variable
145 ret = write(output_fd, buf, len); in write_or_die()
166 off_t hdr_pos = lseek(output_fd, 0, SEEK_CUR); in record_file()
191 if (hdr_sz && pwrite(output_fd, sizep, hdr_sz, hdr_pos) < 0) in record_file()
468 output_fd = fd; in tracing_data_get()
494 output_fd = temp_fd; in tracing_data_get()
509 tdata->size = lseek(output_fd, 0, SEEK_CUR); in tracing_data_get()
510 close(output_fd); in tracing_data_get()
511 output_fd = fd; in tracing_data_get()
/linux-3.4.99/tools/perf/
Dbuiltin-stat.c199 static int output_fd; variable
1117 OPT_INTEGER(0, "log-fd", &output_fd,
1179 if (output_name && output_fd) { in cmd_stat()
1194 } else if (output_fd != 2) { in cmd_stat()
1196 output = fdopen(output_fd, mode); in cmd_stat()