Searched refs:EventType (Results 1 – 14 of 14) sorted by relevance
/system/extras/simpleperf/ |
D | event_type.h | 30 struct EventType { struct 31 EventType(const std::string& name, uint32_t type, uint64_t config) in EventType() function 35 EventType() : type(0), config(0) { in EventType() function 43 const std::vector<EventType>& GetAllEventTypes(); argument 44 const EventType* FindEventTypeByConfig(uint32_t type, uint64_t config); 45 const EventType* FindEventTypeByName(const std::string& name); 49 EventType event_type;
|
D | event_type.cpp | 32 static const std::vector<EventType> static_event_type_array = { 36 static const std::vector<EventType> GetTracepointEventTypes() { in GetTracepointEventTypes() 37 std::vector<EventType> result; in GetTracepointEventTypes() 57 result.push_back(EventType(system_name + ":" + event_name, PERF_TYPE_TRACEPOINT, id)); in GetTracepointEventTypes() 61 [](const EventType& type1, const EventType& type2) { return type1.name < type2.name; }); in GetTracepointEventTypes() 65 const std::vector<EventType>& GetAllEventTypes() { in GetAllEventTypes() 66 static std::vector<EventType> event_type_array; in GetAllEventTypes() 70 const std::vector<EventType> tracepoint_array = GetTracepointEventTypes(); in GetAllEventTypes() 77 const EventType* FindEventTypeByConfig(uint32_t type, uint64_t config) { in FindEventTypeByConfig() 86 const EventType* FindEventTypeByName(const std::string& name) { in FindEventTypeByName() [all …]
|
D | event_attr.h | 24 struct EventType; 26 perf_event_attr CreateDefaultPerfEventAttr(const EventType& event_type);
|
D | event_attr.cpp | 77 perf_event_attr CreateDefaultPerfEventAttr(const EventType& event_type) { in CreateDefaultPerfEventAttr() 104 const EventType* event_type = FindEventTypeByConfig(attr.type, attr.config); in DumpPerfEventAttr()
|
D | cmd_list.cpp | 31 const std::vector<EventType>& event_types) { in PrintEventTypesOfType()
|
D | event_selection_set.cpp | 30 const EventType* type = FindEventTypeByName("cpu-cycles"); in IsBranchSamplingSupported() 41 const EventType* type = FindEventTypeByName("cpu-cycles"); in IsDwarfCallChainSamplingSupported()
|
D | record_test.cpp | 27 const EventType* type = FindEventTypeByName("cpu-cycles"); in SetUp()
|
D | event_fd.cpp | 49 const EventType* event_type = FindEventTypeByConfig(perf_attr.type, perf_attr.config); in OpenEventFile()
|
D | cmd_stat.cpp | 247 const EventType* type = FindEventTypeByName(name); in AddDefaultMeasuredEventTypes()
|
D | cmd_report.cpp | 689 const EventType* event_type = FindEventTypeByConfig(event_attr_.type, event_attr_.config); in PrintReportContext()
|
/system/core/fastboot/ |
D | socket_mock.cpp | 47 if (events_.front().type != EventType::kSend) { in Send() 80 if (event.type != EventType::kReceive) { in Receive() 115 if (events_.front().type != EventType::kAccept) { in Accept() 126 events_.push(Event(EventType::kSend, std::move(message), true, nullptr)); in ExpectSend() 130 events_.push(Event(EventType::kSend, std::move(message), false, nullptr)); in ExpectSendFailure() 134 events_.push(Event(EventType::kReceive, std::move(message), false, nullptr)); in AddReceive() 138 events_.push(Event(EventType::kReceive, "", true, nullptr)); in AddReceiveTimeout() 142 events_.push(Event(EventType::kReceive, "", false, nullptr)); in AddReceiveFailure() 146 events_.push(Event(EventType::kAccept, "", false, std::move(sock))); in AddAccept() 149 SocketMock::Event::Event(EventType _type, std::string _message, ssize_t _status, in Event()
|
D | socket_mock.h | 84 enum class EventType { kSend, kReceive, kAccept }; enum 87 Event(EventType _type, std::string _message, ssize_t _status, 90 EventType type;
|
/system/extras/perfprofd/ |
D | perf_profile.proto | 77 enum EventType { enum 82 optional EventType event = 1;
|
/system/core/adb/ |
D | sysdeps_win32.cpp | 1375 if (input_record->EventType == WINDOW_BUFFER_SIZE_EVENT) { in _get_key_event_record() 1380 if ((input_record->EventType == KEY_EVENT) && in _get_key_event_record()
|