Home
last modified time | relevance | path

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

/tools/perf/util/
Dtrace-event-info.c47 static int output_fd; variable
64 off_t hdr_pos = lseek(output_fd, 0, SEEK_CUR); in record_file()
76 if (write(output_fd, &size, hdr_sz) != hdr_sz) in record_file()
84 if (write(output_fd, buf, r) != r) in record_file()
94 if (hdr_sz && pwrite(output_fd, sizep, hdr_sz, hdr_pos) < 0) { in record_file()
122 if (write(output_fd, "header_page", 12) != 12) { in record_header_files()
146 if (write(output_fd, "header_event", 13) != 13) { in record_header_files()
210 if (write(output_fd, &count, 4) != 4) { in copy_event_system()
303 if (write(output_fd, &count, 4) != 4) { in record_event_files()
323 if (write(output_fd, dent->d_name, size) != size || in record_event_files()
[all …]
Dcompress.h6 int gzip_decompress_to_file(const char *input, int output_fd);
10 int lzma_decompress_to_file(const char *input, int output_fd);
Dzlib.c15 int gzip_decompress_to_file(const char *input, int output_fd) in gzip_decompress_to_file() argument
65 if (writen(output_fd, buf, len) != len) { in gzip_decompress_to_file()
Dlzma.c30 int lzma_decompress_to_file(const char *input, int output_fd) in lzma_decompress_to_file() argument
79 if (writen(output_fd, buf_out, write_size) != write_size) { in lzma_decompress_to_file()
Ddso.h249 bool decompress_to_file(const char *ext, const char *filename, int output_fd);
Ddso.c240 bool decompress_to_file(const char *ext, const char *filename, int output_fd) in decompress_to_file() argument
247 output_fd); in decompress_to_file()
/tools/perf/
Dbuiltin-stat.c170 static int output_fd; variable
1800 OPT_INTEGER(0, "log-fd", &output_fd,
2616 if (output_name && output_fd) { in cmd_stat()
2633 if (output_fd < 0) { in cmd_stat()
2650 } else if (output_fd > 0) { in cmd_stat()
2652 output = fdopen(output_fd, mode); in cmd_stat()