/external/perfetto/src/base/ |
D | file_utils.cc | 52 bytes_read = PERFETTO_EINTR(read(fd, &((*out)[i]), kBufSize)); in ReadFileDescriptor() 77 ssize_t wr = PERFETTO_EINTR( in WriteAll() 92 return !PERFETTO_EINTR(fdatasync(fd)); in FlushFile() 94 return !PERFETTO_EINTR(_commit(fd)); in FlushFile() 96 return !PERFETTO_EINTR(fsync(fd)); in FlushFile()
|
D | utils_unittest.cc | 91 EXPECT_EQ(4, PERFETTO_EINTR(read(*pipe.rd, buf, sizeof(buf)))); in TEST() 92 EXPECT_EQ(0, PERFETTO_EINTR(close(*pipe.rd))); in TEST()
|
D | unix_socket.cc | 207 int res = PERFETTO_EINTR( in Connect() 234 ssize_t sent = PERFETTO_EINTR(sendmsg(*fd_, msg, kNoSigPipe)); in SendMsgAll() 297 const ssize_t sz = PERFETTO_EINTR(recvmsg(*fd_, &msg_hdr, 0)); in Receive() 576 ScopedFile new_fd(PERFETTO_EINTR(accept( in OnEvent()
|
D | unix_socket_unittest.cc | 379 ASSERT_EQ(1, PERFETTO_EINTR(read(*pipe.rd, &sync_cmd, 1))); in TEST_F() 405 PERFETTO_EINTR(waitpid(pid, &st, 0)); in TEST_F() 684 ssize_t rd = PERFETTO_EINTR(read(recv_sock.fd(), recv_buf, 1)); in TEST_F() 691 rd = PERFETTO_EINTR( in TEST_F()
|
D | unix_task_runner.cc | 56 int ret = PERFETTO_EINTR(poll( in Run()
|
/external/perfetto/src/profiling/memory/ |
D | heapprofd_end_to_end_test.cc | 339 PERFETTO_CHECK(PERFETTO_EINTR(waitpid(pid, nullptr, 0)) == pid); in Smoke() 372 PERFETTO_CHECK(PERFETTO_EINTR(waitpid(pid, nullptr, 0)) == pid); in TwoProcesses() 374 PERFETTO_CHECK(PERFETTO_EINTR(waitpid(pid2, nullptr, 0)) == pid2); in TwoProcesses() 403 PERFETTO_CHECK(PERFETTO_EINTR(waitpid(pid, nullptr, 0)) == pid); in FinalFlush() 457 PERFETTO_CHECK(PERFETTO_EINTR(waitpid(pid, nullptr, 0)) == pid); in NativeStartup() 538 PERFETTO_CHECK(PERFETTO_EINTR(waitpid(pid, nullptr, 0)) == pid); in NativeStartupDenormalizedCmdline() 614 PERFETTO_CHECK(PERFETTO_EINTR(waitpid(pid, nullptr, 0)) == pid); in DiscoverByName() 691 PERFETTO_CHECK(PERFETTO_EINTR(waitpid(pid, nullptr, 0)) == pid); in DiscoverByNameDenormalizedCmdline() 797 PERFETTO_CHECK(PERFETTO_EINTR(waitpid(pid, nullptr, 0)) == pid); in ReInit() 847 PERFETTO_CHECK(PERFETTO_EINTR(waitpid(pid, nullptr, 0)) == pid); in ConcurrentSession() [all …]
|
D | proc_utils_unittest.cc | 72 PERFETTO_CHECK(PERFETTO_EINTR(waitpid(pid, nullptr, 0)) == pid); in TEST()
|
D | malloc_hooks.cc | 320 if (PERFETTO_EINTR(waitpid(clone_pid, &unused, __WCLONE)) == -1 && in CreateClientAndPrivateDaemon()
|
/external/perfetto/src/traced/probes/ftrace/ |
D | atrace_wrapper.cc | 143 int64_t count = PERFETTO_EINTR(read(*err_pipe.rd, buffer, sizeof(buffer))); in ExecvAtrace() 157 PERFETTO_EINTR(waitpid(pid, &status, 0)); in ExecvAtrace()
|
D | ftrace_procfs.cc | 261 ssize_t bytes = PERFETTO_EINTR(read(fd.get(), &result, 1)); in ReadOneCharFromFile()
|
/external/perfetto/include/perfetto/base/ |
D | utils.h | 29 #define PERFETTO_EINTR(x) \ macro
|
/external/perfetto/test/ |
D | end_to_end_integrationtest.cc | 179 PERFETTO_EINTR(write(*in_pipe.wr, input.data(), input.size())) == in Exec() 190 rsize = PERFETTO_EINTR(read(*err_pipe.rd, &stderr_[stderr_pos], in Exec() 198 PERFETTO_CHECK(PERFETTO_EINTR(waitpid(pid, &status, 0)) == pid); in Exec() 550 while (PERFETTO_EINTR(read(*pipe_pair.rd, buf, sizeof(buf))) > 0) { in TEST_F()
|
/external/perfetto/src/perfetto_cmd/ |
D | rate_limiter.cc | 192 ssize_t bytes = PERFETTO_EINTR(read(in_fd.get(), &buf, sizeof(buf))); in LoadState()
|
/external/perfetto/src/ipc/ |
D | host_impl_unittest.cc | 356 PERFETTO_EINTR(read(fd, buf, sizeof(buf)))); in TEST_F() 396 PERFETTO_EINTR(read(*rx_fd, buf, sizeof(buf)))); in TEST_F()
|
D | client_impl_unittest.cc | 382 PERFETTO_EINTR(read(*rx_fd, buf, sizeof(buf)))); in TEST_F() 426 PERFETTO_EINTR(read(*rx_fd, buf, sizeof(buf)))); in TEST_F()
|
/external/perfetto/src/tracing/core/ |
D | tracing_service_impl.cc | 1584 ssize_t wr_size = PERFETTO_EINTR(writev(fd, &iovecs[i], iov_batch_size)); in ReadBuffers()
|