Searched refs:EventFd (Results 1 – 6 of 6) sorted by relevance
/system/extras/simpleperf/ |
D | event_fd.cpp | 38 std::vector<char> EventFd::data_process_buffer_; 45 std::unique_ptr<EventFd> EventFd::OpenEventFile(const perf_event_attr& attr, pid_t tid, int cpu, in OpenEventFile() 74 return std::unique_ptr<EventFd>(new EventFd(perf_event_fd, event_name, tid, cpu)); in OpenEventFile() 77 EventFd::~EventFd() { in ~EventFd() 84 std::string EventFd::Name() const { in Name() 89 uint64_t EventFd::Id() const { in Id() 99 bool EventFd::ReadCounter(PerfCounter* counter) const { in ReadCounter() 108 bool EventFd::MmapContent(size_t mmap_pages) { in MmapContent() 128 size_t EventFd::GetAvailableMmapData(char** pdata) { in GetAvailableMmapData() 176 void EventFd::DiscardMmapData(size_t discard_size) { in DiscardMmapData() [all …]
|
D | event_fd.h | 40 class EventFd { 42 static std::unique_ptr<EventFd> OpenEventFile(const perf_event_attr& attr, pid_t tid, int cpu, 45 ~EventFd(); 71 EventFd(int perf_event_fd, const std::string& event_name, pid_t tid, int cpu) in EventFd() function 106 DISALLOW_COPY_AND_ASSIGN(EventFd);
|
D | event_selection_set.h | 80 const std::vector<std::unique_ptr<EventFd>>* FindEventFdsByType( 90 std::vector<std::unique_ptr<EventFd>> event_fds;
|
D | cpu_hotplug_test.cpp | 223 static std::unique_ptr<EventFd> OpenHardwareEventOnCpu(int cpu) { in OpenHardwareEventOnCpu() 229 return EventFd::OpenEventFile(attr, getpid(), cpu); in OpenHardwareEventOnCpu() 247 std::unique_ptr<EventFd> event_fd = OpenHardwareEventOnCpu(record_cpu); in TEST()
|
D | event_selection_set.cpp | 214 auto event_fd = EventFd::OpenEventFile(selection.event_attr, tid, cpu); in OpenEventFiles() 274 static bool ReadMmapEventDataForFd(std::unique_ptr<EventFd>& event_fd, in ReadMmapEventDataForFd() 325 const std::vector<std::unique_ptr<EventFd>>* EventSelectionSet::FindEventFdsByType( in FindEventFdsByType()
|
D | cmd_record.cpp | 518 const std::vector<std::unique_ptr<EventFd>>* fds = in CreateRecordFile()
|