Home
last modified time | relevance | path

Searched refs:PERFETTO_EINTR (Results 1 – 23 of 23) sorted by relevance

/external/perfetto/src/base/
Dfile_utils.cc49 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()
Dsubprocess_posix.cc254 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()
Dunix_socket.cc381 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()
Dutils_unittest.cc175 EXPECT_EQ(4, PERFETTO_EINTR(read(*pipe.rd, buf, sizeof(buf)))); in TEST()
Dunix_socket_unittest.cc698 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()
Dwatchdog_posix.cc62 ssize_t rd = PERFETTO_EINTR(read(fd, c + c_pos, sizeof(c) - c_pos)); in ReadProcStat()
Dunix_task_runner.cc80 int ret = PERFETTO_EINTR(poll( in Run()
/external/perfetto/src/profiling/symbolizer/
Dsubprocess_posix.cc58 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/
Dutils.h36 #define PERFETTO_EINTR(x) (x) macro
38 #define PERFETTO_EINTR(x) \ macro
/external/perfetto/src/traced/probes/ftrace/
Datrace_wrapper.cc144 int64_t count = PERFETTO_EINTR(read(*err_pipe.rd, buffer, sizeof(buffer))); in ExecvAtrace()
158 PERFETTO_EINTR(waitpid(pid, &status, 0)); in ExecvAtrace()
Dftrace_procfs.cc312 ssize_t bytes = PERFETTO_EINTR(read(fd.get(), &result, 1)); in ReadOneCharFromFile()
Dcpu_reader.cc210 PERFETTO_EINTR(read(*trace_fd_, curr_page, base::kPageSize)); in ReadAndProcessBatch()
/external/perfetto/src/traced/service/
Dservice.cc59 if (PERFETTO_EINTR( in SetSocketPermissions()
70 if (PERFETTO_EINTR(chmod(socket_name.c_str(), in SetSocketPermissions()
/external/perfetto/
D.clang-tidy6 value: 'PERFETTO_EINTR,TEMP_FAILURE_RETRY'
/external/perfetto/src/tracing/ipc/
Ddefault_socket.cc41 int res = PERFETTO_EINTR(access(kRunPerfettoBaseDir, X_OK)); in UseRunPerfettoBaseDir()
/external/perfetto/src/perfetto_cmd/
Dperfetto_cmd_android.cc101 auto wsize = PERFETTO_EINTR(sendfile(*staging_fd, fd, &offset, remaining)); in SaveOutputToIncidentTraceOrCrash()
/external/perfetto/src/profiling/memory/
Dclient_api_factory_standalone.cc99 if (PERFETTO_EINTR(waitpid(f, &wstatus, 0)) == -1) in StartHeapprofdIfStatic()
Dheapprofd_end_to_end_test.cc232 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/
Dproc_utils_unittest.cc126 PERFETTO_CHECK(PERFETTO_EINTR(waitpid(pid, nullptr, 0)) == pid); in TEST()
/external/perfetto/src/ipc/
Dhost_impl_unittest.cc361 PERFETTO_EINTR(read(fd, buf, sizeof(buf)))); in TEST_F()
401 PERFETTO_EINTR(read(*rx_fd, buf, sizeof(buf)))); in TEST_F()
Dclient_impl_unittest.cc387 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/
Dend_to_end_integrationtest.cc180 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/
Dtracing_service_impl.cc2212 ssize_t wr_size = PERFETTO_EINTR(writev(fd, &iovecs[i], iov_batch_size)); in ReadBuffers()