Searched refs:event_fd (Results 1 – 6 of 6) sorted by relevance
/system/extras/simpleperf/ |
D | event_selection_set.cpp | 67 auto event_fd = EventFd::OpenEventFileForCpu(selection.event_attr, cpu); in OpenEventFilesForAllCpus() local 68 if (event_fd != nullptr) { in OpenEventFilesForAllCpus() 69 selection.event_fds.push_back(std::move(event_fd)); in OpenEventFilesForAllCpus() 85 auto event_fd = EventFd::OpenEventFileForProcess(selection.event_attr, pid); in OpenEventFilesForProcess() local 86 if (event_fd == nullptr) { in OpenEventFilesForProcess() 91 selection.event_fds.push_back(std::move(event_fd)); in OpenEventFilesForProcess() 98 for (auto& event_fd : selection.event_fds) { in EnableEvents() local 99 if (!event_fd->EnableEvent()) { in EnableEvents() 111 for (auto& event_fd : selection.event_fds) { in ReadCounters() local 113 if (!event_fd->ReadCounter(&counter)) { in ReadCounters() [all …]
|
D | record_file_test.cpp | 38 std::unique_ptr<EventFd> event_fd = EventFd::OpenEventFileForProcess(event_attr, getpid()); in SetUp() local 39 ASSERT_TRUE(event_fd != nullptr); in SetUp() 40 event_fds.push_back(std::move(event_fd)); in SetUp()
|
D | event_type.cpp | 37 …auto event_fd = EventFd::OpenEventFileForProcess(CreateDefaultPerfEventAttr(event_type), getpid()); in IsEventTypeSupportedByKernel() local 38 return event_fd != nullptr; in IsEventTypeSupportedByKernel()
|
D | Android.mk | 36 event_fd.cpp \
|
D | record_file.cpp | 77 for (auto& event_fd : event_fds) { in WriteAttrSection() local 78 ids.push_back(event_fd->Id()); in WriteAttrSection()
|
/system/bt/osi/src/ |
D | reactor.c | 40 int event_fd; member 69 ret->event_fd = INVALID_FD; in reactor_new() 77 ret->event_fd = eventfd(0, 0); in reactor_new() 78 if (ret->event_fd == INVALID_FD) { in reactor_new() 94 if (epoll_ctl(ret->epoll_fd, EPOLL_CTL_ADD, ret->event_fd, &event) == -1) { in reactor_new() 111 close(reactor->event_fd); in reactor_free() 129 eventfd_write(reactor->event_fd, EVENT_REACTOR_STOP); in reactor_stop() 259 eventfd_read(reactor->event_fd, &value); in run_reactor()
|