Home
last modified time | relevance | path

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

/tools/perf/util/
Dtrace-event-info.c30 static int output_fd; variable
47 off_t hdr_pos = lseek(output_fd, 0, SEEK_CUR); in record_file()
59 if (write(output_fd, &size, hdr_sz) != hdr_sz) in record_file()
67 if (write(output_fd, buf, r) != r) in record_file()
77 if (hdr_sz && pwrite(output_fd, sizep, hdr_sz, hdr_pos) < 0) { in record_file()
104 if (write(output_fd, "header_page", 12) != 12) { in record_header_files()
128 if (write(output_fd, "header_event", 13) != 13) { in record_header_files()
192 if (write(output_fd, &count, 4) != 4) { in copy_event_system()
285 if (write(output_fd, &count, 4) != 4) { in record_event_files()
305 if (write(output_fd, dent->d_name, size) != size || in record_event_files()
[all …]
Dcompress.h11 int gzip_decompress_to_file(const char *input, int output_fd);
16 int lzma_decompress_to_file(const char *input, int output_fd);
Dzlib.c16 int gzip_decompress_to_file(const char *input, int output_fd) in gzip_decompress_to_file() argument
66 if (writen(output_fd, buf, len) != len) { in gzip_decompress_to_file()
Dlzma.c35 int lzma_decompress_to_file(const char *input, int output_fd) in lzma_decompress_to_file() argument
84 if (writen(output_fd, buf_out, write_size) != write_size) { in lzma_decompress_to_file()
/tools/perf/
Dbuiltin-stat.c173 static int output_fd; variable
1122 OPT_INTEGER(0, "log-fd", &output_fd,
2105 if (output_name && output_fd) { in cmd_stat()
2129 if (output_fd < 0) { in cmd_stat()
2146 } else if (output_fd > 0) { in cmd_stat()
2148 output = fdopen(output_fd, mode); in cmd_stat()