Searched refs:output_fd (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/tools/perf/util/ |
D | trace-event-info.c | 33 static int output_fd; variable 55 off_t hdr_pos = lseek(output_fd, 0, SEEK_CUR); in record_file() 67 if (write(output_fd, &size, hdr_sz) != hdr_sz) in record_file() 75 if (write(output_fd, buf, r) != r) in record_file() 85 if (hdr_sz && pwrite(output_fd, sizep, hdr_sz, hdr_pos) < 0) { in record_file() 112 if (write(output_fd, "header_page", 12) != 12) { in record_header_files() 136 if (write(output_fd, "header_event", 13) != 13) { in record_header_files() 200 if (write(output_fd, &count, 4) != 4) { in copy_event_system() 293 if (write(output_fd, &count, 4) != 4) { in record_event_files() 313 if (write(output_fd, dent->d_name, size) != size || in record_event_files() [all …]
|
D | compress.h | 11 int gzip_decompress_to_file(const char *input, int output_fd); 16 int lzma_decompress_to_file(const char *input, int output_fd);
|
D | zlib.c | 16 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()
|
D | lzma.c | 35 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()
|
/linux-6.1.9/tools/perf/ |
D | builtin-stat.c | 193 static int output_fd; variable 1221 OPT_INTEGER(0, "log-fd", &output_fd, 2251 if (output_name && output_fd) { in cmd_stat() 2275 if (output_fd < 0) { in cmd_stat() 2292 } else if (output_fd > 0) { in cmd_stat() 2294 output = fdopen(output_fd, mode); in cmd_stat()
|
D | builtin-inject.c | 1944 static int output_fd(struct perf_inject *inject) in output_fd() function 1954 int fd = output_fd(inject); in __cmd_inject() 2300 output_fd(&inject), in cmd_inject()
|