Home
last modified time | relevance | path

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

/external/perfetto/src/base/
Dfile_utils.cc52 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()
Dutils_unittest.cc91 EXPECT_EQ(4, PERFETTO_EINTR(read(*pipe.rd, buf, sizeof(buf)))); in TEST()
92 EXPECT_EQ(0, PERFETTO_EINTR(close(*pipe.rd))); in TEST()
Dunix_socket.cc207 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()
Dunix_socket_unittest.cc379 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()
Dunix_task_runner.cc56 int ret = PERFETTO_EINTR(poll( in Run()
/external/perfetto/src/profiling/memory/
Dheapprofd_end_to_end_test.cc339 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 …]
Dproc_utils_unittest.cc72 PERFETTO_CHECK(PERFETTO_EINTR(waitpid(pid, nullptr, 0)) == pid); in TEST()
Dmalloc_hooks.cc320 if (PERFETTO_EINTR(waitpid(clone_pid, &unused, __WCLONE)) == -1 && in CreateClientAndPrivateDaemon()
/external/perfetto/src/traced/probes/ftrace/
Datrace_wrapper.cc143 int64_t count = PERFETTO_EINTR(read(*err_pipe.rd, buffer, sizeof(buffer))); in ExecvAtrace()
157 PERFETTO_EINTR(waitpid(pid, &status, 0)); in ExecvAtrace()
Dftrace_procfs.cc261 ssize_t bytes = PERFETTO_EINTR(read(fd.get(), &result, 1)); in ReadOneCharFromFile()
/external/perfetto/include/perfetto/base/
Dutils.h29 #define PERFETTO_EINTR(x) \ macro
/external/perfetto/test/
Dend_to_end_integrationtest.cc179 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/
Drate_limiter.cc192 ssize_t bytes = PERFETTO_EINTR(read(in_fd.get(), &buf, sizeof(buf))); in LoadState()
/external/perfetto/src/ipc/
Dhost_impl_unittest.cc356 PERFETTO_EINTR(read(fd, buf, sizeof(buf)))); in TEST_F()
396 PERFETTO_EINTR(read(*rx_fd, buf, sizeof(buf)))); in TEST_F()
Dclient_impl_unittest.cc382 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/
Dtracing_service_impl.cc1584 ssize_t wr_size = PERFETTO_EINTR(writev(fd, &iovecs[i], iov_batch_size)); in ReadBuffers()