/tools/perf/scripts/python/ |
D | compaction-times.py | 138 sys.stderr.write("missing start compaction event for pid %d\n" % pid) 147 sys.stderr.write("missing start compaction event for pid %d\n" % pid) 192 sys.stdout.write("%d[%s].%d: %s\n" % (self.pid, self.comm, i+1, pelem)) 202 sys.stdout.write("%d[%s]: %s\n" % (self.pid, self.comm, self.val)) 206 sys.stdout.write("total: %s\n" % chead.str()) 249 sys.stdout.write(usage) 250 sys.stdout.write("\n") 251 sys.stdout.write("-h display this help\n") 252 sys.stdout.write("-p display by process\n") 253 sys.stdout.write("-pv display by process (verbose)\n") [all …]
|
D | export-to-postgresql.py | 503 file.write(file_header) 507 file.write(file_trailer) 520 file.write(file_trailer) 666 evsel_file.write(value) 672 machine_file.write(value) 676 thread_file.write(value) 682 comm_file.write(value) 687 comm_thread_file.write(value) 695 dso_file.write(value) 701 symbol_file.write(value) [all …]
|
/tools/perf/util/ |
D | trace-event-info.c | 76 if (write(output_fd, &size, hdr_sz) != hdr_sz) in record_file() 84 if (write(output_fd, buf, r) != r) 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() 206 if (write(output_fd, &count, 4) != 4) { in copy_event_system() 303 if (write(output_fd, &count, 4) != 4) { in record_event_files() 325 if (write(output_fd, dent->d_name, size) != size || in record_event_files() 351 return write(output_fd, &size, 4) != 4 ? -EIO : 0; in record_proc_kallsyms() 371 if (write(output_fd, &size, 4) != 4) in record_ftrace_printk() 455 if (write(output_fd, buf, 10) != 10) in tracing_data_header() [all …]
|
/tools/virtio/virtio-trace/ |
D | README | 8 - write trace data to stdout by using -o option 13 2) Create a read/write thread per CPU. Each thread is bound to a CPU. 14 The read/write threads hold it. 17 the controller wake read/write threads. 18 5) The read/write threads start to read trace data from ring-buffers and 19 write the data to virtio-serial. 20 6) If the controller receives a stop order from a host, the read/write threads 31 trace-agent-ctl.c: includes controller function for read/write threads 32 trace-agent-rw.c: includes read/write threads function 103 read/write threads in the agent wait for start order from host. If you add -o
|
/tools/testing/selftests/powerpc/context_switch/ |
D | cp_abort.c | 91 FAIL_IF((write(fd1[WRITE_FD], &c, 1)) != 1); in test_cp_abort() 100 FAIL_IF((write(fd2[WRITE_FD], &c, 1) != 1)); in test_cp_abort()
|
/tools/testing/selftests/watchdog/ |
D | watchdog-test.c | 39 int ret = write(fd, &v, 1); in term() 100 ret = write(fd, &v, 1); in main()
|
/tools/testing/selftests/vm/ |
D | compaction_test.c | 103 if (write(fd, "0", sizeof(char)) != sizeof(char)) { in check_compaction() 112 if (write(fd, "100000", (6*sizeof(char))) != (6*sizeof(char))) { in check_compaction() 141 if (write(fd, initial_nr_hugepages, strlen(initial_nr_hugepages)) in check_compaction()
|
/tools/testing/selftests/powerpc/mm/ |
D | subpage_prot.c | 68 static inline void check_faulted(void *addr, long page, long subpage, int write) in check_faulted() argument 72 if (write) in check_faulted() 77 addr, page, subpage, write, in check_faulted()
|
/tools/testing/selftests/powerpc/pmu/ |
D | lib.c | 37 FAIL_IF(write(write_pipe.write_fd, &c, 1) != 1); in sync_with_child() 59 FAIL_IF(write(write_pipe.write_fd, &c, 1) != 1); in notify_parent() 68 FAIL_IF(write(write_pipe.write_fd, &c, 1) != 1); in notify_parent_of_error()
|
/tools/perf/trace/strace/groups/ |
D | file | 20 write
|
/tools/usb/usbip/libsrc/ |
D | sysfs_utils.c | 21 length = write(fd, new_value, len); in write_sysfs_attribute()
|
/tools/power/acpi/tools/acpidbg/ |
D | acpidbg.c | 233 len = write(fd, p, len); in acpi_aml_write() 249 len = write(fd, p, len); in acpi_aml_write_batch_log() 319 ACPI_AML_BATCH_DO(fd, write, cmd, ret); in acpi_aml_loop() 321 ACPI_AML_DO(fd, write, cmd, ret); in acpi_aml_loop() 331 ACPI_AML_BATCH_DO(STDOUT_FILENO, write, log, ret); in acpi_aml_loop() 333 ACPI_AML_DO(STDOUT_FILENO, write, log, ret); in acpi_aml_loop()
|
/tools/perf/bench/ |
D | sched-pipe.c | 66 ret = write(td->pipe_write, &m, sizeof(int)); in worker_thread() 69 ret = write(td->pipe_write, &m, sizeof(int)); in worker_thread()
|
D | sched-messaging.c | 75 if (write(ready_out, &dummy, 1) != 1) in ready() 97 ret = write(ctx->out_fds[j], data + done, in sender() 296 if (write(wakefds[1], &dummy, 1) != 1) in bench_sched_messaging()
|
/tools/testing/selftests/powerpc/tm/ |
D | tm-vmxcopy.c | 55 assert(write(fd, buf, pgsize) == pgsize); in test_vmxcopy()
|
/tools/usb/ffs-aio-example/simple/device_app/ |
D | aio_simple.c | 185 write(ep0, NULL, 0); in handle_ep0() 240 if (write(ep0, &descriptors, sizeof(descriptors)) < 0) { in main() 244 if (write(ep0, &strings, sizeof(strings)) < 0) { in main()
|
/tools/perf/Documentation/ |
D | jit-interface.txt | 4 The JIT has to write a /tmp/perf-%d.map (%d = pid of process) file
|
/tools/cgroup/ |
D | cgroup_event_listener.c | 54 ret = write(event_control, line, strlen(line) + 1); in main()
|
/tools/hv/ |
D | hv_vss_daemon.c | 190 len = write(vss_fd, vss_msg, sizeof(struct hv_vss_msg)); in main() 260 len = write(vss_fd, vss_msg, sizeof(struct hv_vss_msg)); in main()
|
/tools/usb/ffs-aio-example/multibuff/device_app/ |
D | aio_multibuff.c | 190 write(ep0, NULL, 0); in handle_ep0() 269 if (write(ep0, &descriptors, sizeof(descriptors)) < 0) { in main() 273 if (write(ep0, &strings, sizeof(strings)) < 0) { in main()
|
/tools/testing/selftests/powerpc/dscr/ |
D | dscr.h | 115 ret = write(fd, buf, strlen(buf)); in set_default_dscr()
|
/tools/testing/selftests/size/ |
D | get_size.c | 31 return write(STDOUT_FILENO, s, __builtin_strlen(s)); in print()
|
/tools/power/cpupower/utils/helpers/ |
D | msr.c | 66 if (write(fd, &val, sizeof val) != sizeof val) in write_msr()
|
/tools/testing/selftests/efivarfs/ |
D | open-unlink.c | 94 rc = write(fd, buf, sizeof(buf)); in main()
|
/tools/laptop/freefall/ |
D | freefall.c | 66 if (write(fd, buf, strlen(buf)) != strlen(buf)) { in write_int()
|