Searched refs:output_fd (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/tools/perf/util/ |
D | trace-event-info.c | 34 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 …]
|
D | compress.h | 13 int gzip_decompress_to_file(const char *input, int output_fd); 18 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 82 if (writen(output_fd, buf_out, write_size) != write_size) { in lzma_decompress_to_file()
|
/linux-6.12.1/tools/perf/ |
D | builtin-stat.c | 132 static int output_fd; variable 2439 OPT_INTEGER(0, "log-fd", &output_fd, in cmd_stat() 2577 if (output_name && output_fd) { in cmd_stat() 2601 if (output_fd < 0) { in cmd_stat() 2620 } else if (output_fd > 0) { in cmd_stat() 2622 output = fdopen(output_fd, mode); in cmd_stat()
|
D | builtin-inject.c | 2157 static int output_fd(struct perf_inject *inject) in output_fd() function 2167 int fd = output_fd(inject); in __cmd_inject()
|