Home
last modified time | relevance | path

Searched refs:event_fd (Results 1 – 5 of 5) sorted by relevance

/system/extras/simpleperf/
Devent_selection_set.cpp214 auto event_fd = EventFd::OpenEventFile(selection.event_attr, tid, cpu); in OpenEventFiles() local
215 if (event_fd != nullptr) { in OpenEventFiles()
217 selection.event_fds.push_back(std::move(event_fd)); in OpenEventFiles()
239 for (auto& event_fd : selection.event_fds) { in ReadCounters() local
241 if (!event_fd->ReadCounter(&counter_info.counter)) { in ReadCounters()
244 counter_info.tid = event_fd->ThreadId(); in ReadCounters()
245 counter_info.cpu = event_fd->Cpu(); in ReadCounters()
255 for (auto& event_fd : selection.event_fds) { in PreparePollForEventFiles() local
257 event_fd->PreparePollForMmapData(&poll_fd); in PreparePollForEventFiles()
265 for (auto& event_fd : selection.event_fds) { in MmapEventFiles() local
[all …]
Dcpu_hotplug_test.cpp247 std::unique_ptr<EventFd> event_fd = OpenHardwareEventOnCpu(record_cpu); in TEST() local
248 ASSERT_TRUE(event_fd != nullptr); in TEST()
250 event_fd = nullptr; in TEST()
251 event_fd = OpenHardwareEventOnCpu(record_cpu); in TEST()
252 ASSERT_TRUE(event_fd != nullptr); in TEST()
Devent_fd.cpp187 auto event_fd = EventFd::OpenEventFile(attr, getpid(), -1, false); in IsEventAttrSupportedByKernel() local
188 return event_fd != nullptr; in IsEventAttrSupportedByKernel()
DAndroid.mk95 event_fd.cpp \
/system/bt/osi/src/
Dreactor.c42 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()
253 eventfd_read(reactor->event_fd, &value); in run_reactor()