/external/perfetto/src/base/ |
D | file_utils.cc | 49 return PERFETTO_EINTR(read(fd, dst, dst_size)); in Read() 125 ssize_t wr = PERFETTO_EINTR( in WriteAll() 153 return !PERFETTO_EINTR(fdatasync(fd)); in FlushFile() 155 return !PERFETTO_EINTR(_commit(fd)); in FlushFile() 157 return !PERFETTO_EINTR(fsync(fd)); in FlushFile()
|
D | subprocess_posix.cc | 254 int wait_res = PERFETTO_EINTR(wait4(pid, &pid_stat, 0, &usg)); in Start() 268 base::ignore_result(PERFETTO_EINTR( in Start() 312 int poll_res = PERFETTO_EINTR(poll(fds, nfds, poll_timeout_ms)); in PollInternal() 355 int64_t rsize = PERFETTO_EINTR( in TryReadExitStatus() 386 PERFETTO_EINTR(write(*s_->stdin_pipe.wr, &args.input[s_->input_written], in TryPushStdin() 410 PERFETTO_EINTR(read(*s_->stdouterr_pipe.rd, buf, sizeof(buf))); in TryReadStdoutAndErr()
|
D | unix_socket.cc | 381 int res = PERFETTO_EINTR(connect(*fd_, addr.addr(), addr.size)); in Connect() 436 ssize_t sent = PERFETTO_EINTR(sendmsg(*fd_, msg, kNoSigPipe)); in SendMsgAllPosix() 499 const ssize_t sz = PERFETTO_EINTR(recvmsg(*fd_, &msg_hdr, 0)); in Receive() 889 PERFETTO_EINTR(accept(sock_raw_.fd(), nullptr, nullptr))); in OnEvent()
|
D | utils_unittest.cc | 175 EXPECT_EQ(4, PERFETTO_EINTR(read(*pipe.rd, buf, sizeof(buf)))); in TEST()
|
D | unix_socket_unittest.cc | 698 ASSERT_EQ(1, PERFETTO_EINTR(read(*pipe.rd, &sync_cmd, 1))); in TEST_F() 725 PERFETTO_EINTR(waitpid(pid, &st, 0)); in TEST_F() 858 ssize_t rd = PERFETTO_EINTR(read(recv_sock.fd(), recv_buf, 1)); in TEST_F() 865 rd = PERFETTO_EINTR( in TEST_F()
|
D | watchdog_posix.cc | 62 ssize_t rd = PERFETTO_EINTR(read(fd, c + c_pos, sizeof(c) - c_pos)); in ReadProcStat()
|
D | unix_task_runner.cc | 80 int ret = PERFETTO_EINTR(poll( in Run()
|
/external/perfetto/src/profiling/symbolizer/ |
D | subprocess_posix.cc | 58 PERFETTO_EINTR(waitpid(pid_, &wstatus, 0)); in ~Subprocess() 66 return PERFETTO_EINTR(write(input_pipe_.wr.get(), buffer, size)); in Write() 73 return PERFETTO_EINTR(read(output_pipe_.rd.get(), buffer, size)); in Read()
|
/external/perfetto/include/perfetto/ext/base/ |
D | utils.h | 36 #define PERFETTO_EINTR(x) (x) macro 38 #define PERFETTO_EINTR(x) \ macro
|
/external/perfetto/src/traced/probes/ftrace/ |
D | atrace_wrapper.cc | 144 int64_t count = PERFETTO_EINTR(read(*err_pipe.rd, buffer, sizeof(buffer))); in ExecvAtrace() 158 PERFETTO_EINTR(waitpid(pid, &status, 0)); in ExecvAtrace()
|
D | ftrace_procfs.cc | 312 ssize_t bytes = PERFETTO_EINTR(read(fd.get(), &result, 1)); in ReadOneCharFromFile()
|
D | cpu_reader.cc | 210 PERFETTO_EINTR(read(*trace_fd_, curr_page, base::kPageSize)); in ReadAndProcessBatch()
|
/external/perfetto/src/traced/service/ |
D | service.cc | 59 if (PERFETTO_EINTR( in SetSocketPermissions() 70 if (PERFETTO_EINTR(chmod(socket_name.c_str(), in SetSocketPermissions()
|
/external/perfetto/ |
D | .clang-tidy | 6 value: 'PERFETTO_EINTR,TEMP_FAILURE_RETRY'
|
/external/perfetto/src/tracing/ipc/ |
D | default_socket.cc | 41 int res = PERFETTO_EINTR(access(kRunPerfettoBaseDir, X_OK)); in UseRunPerfettoBaseDir()
|
/external/perfetto/src/perfetto_cmd/ |
D | perfetto_cmd_android.cc | 101 auto wsize = PERFETTO_EINTR(sendfile(*staging_fd, fd, &offset, remaining)); in SaveOutputToIncidentTraceOrCrash()
|
/external/perfetto/src/profiling/memory/ |
D | client_api_factory_standalone.cc | 99 if (PERFETTO_EINTR(waitpid(f, &wstatus, 0)) == -1) in StartHeapprofdIfStatic()
|
D | heapprofd_end_to_end_test.cc | 232 PERFETTO_CHECK(PERFETTO_EINTR(read(ready_pipe_rd, buf, sizeof(buf))) == 0); in StartAndWaitForHandshake() 435 PERFETTO_CHECK(PERFETTO_EINTR(write(ack_pipe_wr, "1", 1)) == 1); in RunReInit() 1507 PERFETTO_CHECK(PERFETTO_EINTR(write(signal_pipe_wr, "1", 1)) == 1); in TEST_P() 1510 ASSERT_EQ(PERFETTO_EINTR(read(ack_pipe_rd, buf, sizeof(buf))), 1); in TEST_P() 1592 PERFETTO_CHECK(PERFETTO_EINTR(write(signal_pipe_wr, "1", 1)) == 1); in TEST_P() 1595 ASSERT_EQ(PERFETTO_EINTR(read(ack_pipe_rd, buf, sizeof(buf))), 1); in TEST_P() 1685 PERFETTO_CHECK(PERFETTO_EINTR(write(start_pipe_wr, "1", 1)) == 1); in TEST_P() 1699 ASSERT_EQ(PERFETTO_EINTR(read(*start_pipe.rd, buf, sizeof(buf))), 1); in TEST_P()
|
/external/perfetto/src/profiling/common/ |
D | proc_utils_unittest.cc | 126 PERFETTO_CHECK(PERFETTO_EINTR(waitpid(pid, nullptr, 0)) == pid); in TEST()
|
/external/perfetto/src/ipc/ |
D | host_impl_unittest.cc | 361 PERFETTO_EINTR(read(fd, buf, sizeof(buf)))); in TEST_F() 401 PERFETTO_EINTR(read(*rx_fd, buf, sizeof(buf)))); in TEST_F()
|
D | client_impl_unittest.cc | 387 PERFETTO_EINTR(read(*rx_fd, buf, sizeof(buf)))); in TEST_F() 431 PERFETTO_EINTR(read(*rx_fd, buf, sizeof(buf)))); in TEST_F()
|
/external/perfetto/test/ |
D | end_to_end_integrationtest.cc | 180 PERFETTO_CHECK(PERFETTO_EINTR(read(sync_pipe_rd, &ignored, 1)) > 0); in Exec() 901 while (PERFETTO_EINTR(read(*pipe_pair.rd, buf, sizeof(buf))) > 0) { in TEST_F()
|
/external/perfetto/src/tracing/core/ |
D | tracing_service_impl.cc | 2212 ssize_t wr_size = PERFETTO_EINTR(writev(fd, &iovecs[i], iov_batch_size)); in ReadBuffers()
|