Searched refs:EventType (Results 1 – 16 of 16) sorted by relevance
/system/extras/simpleperf/ |
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* FindEventTypeByName(const std::string& name) { in FindEventTypeByName() 78 const EventType* result = nullptr; in FindEventTypeByName() [all …]
|
D | event_type.h | 38 struct EventType { struct 39 EventType(const std::string& name, uint32_t type, uint64_t config) in EventType() argument 43 EventType() : type(0), config(0) { in EventType() function 51 const std::vector<EventType>& GetAllEventTypes(); argument 52 const EventType* FindEventTypeByName(const std::string& name); 56 EventType event_type;
|
D | event_attr.h | 27 struct EventType; 34 perf_event_attr CreateDefaultPerfEventAttr(const EventType& event_type);
|
D | tracing.h | 86 bool GetTracingData(const std::vector<const EventType*>& event_types,
|
D | cmd_list.cpp | 31 const std::vector<EventType>& event_types) { in PrintEventTypesOfType()
|
D | event_selection_set.cpp | 32 const EventType* type = FindEventTypeByName("cpu-cycles"); in IsBranchSamplingSupported() 43 const EventType* type = FindEventTypeByName("cpu-cycles"); in IsDwarfCallChainSamplingSupported() 119 std::vector<const EventType*> EventSelectionSet::GetTracepointEvents() const { in GetTracepointEvents() 120 std::vector<const EventType*> result; in GetTracepointEvents()
|
D | event_selection_set.h | 76 std::vector<const EventType*> GetTracepointEvents() const;
|
D | record_test.cpp | 27 const EventType* type = FindEventTypeByName("cpu-cycles"); in SetUp()
|
D | event_attr.cpp | 77 perf_event_attr CreateDefaultPerfEventAttr(const EventType& event_type) { in CreateDefaultPerfEventAttr()
|
D | tracing.cpp | 399 bool GetTracingData(const std::vector<const EventType*>& event_types, in GetTracingData()
|
D | cmd_stat.cpp | 548 const EventType* type = FindEventTypeByName(name); in AddDefaultMeasuredEventTypes()
|
D | cmd_record.cpp | 664 std::vector<const EventType*> tracepoint_event_types = in DumpTracingData()
|
/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 | 1270 if (input_record->EventType == WINDOW_BUFFER_SIZE_EVENT) { in _get_key_event_record() 1275 if ((input_record->EventType == KEY_EVENT) && in _get_key_event_record()
|