/system/extras/simpleperf/ |
D | event_type.h | 40 struct EventType { struct 41 EventType(const std::string& name, uint32_t type, uint64_t config, in EventType() argument 47 EventType() : type(0), config(0) { in EventType() argument 50 bool operator<(const EventType& other) const { 67 static std::string BuildString(const std::vector<const EventType*>& event_types); argument 73 std::set<EventType> saved_event_types_; 76 const std::set<EventType>& GetAllEventTypes(); 77 const EventType* FindEventTypeByName(const std::string& name, bool report_error = true); 81 EventType event_type;
|
D | event_type.cpp | 37 static const std::vector<EventType> static_event_type_array = { 65 static std::vector<EventType> GetTracepointEventTypesFromString(const std::string& s) { in GetTracepointEventTypesFromString() 66 std::vector<EventType> result; in GetTracepointEventTypesFromString() 73 result.push_back(EventType(event_name, PERF_TYPE_TRACEPOINT, id, "", "")); in GetTracepointEventTypesFromString() 78 static std::vector<EventType> GetTracepointEventTypesFromTraceFs() { in GetTracepointEventTypesFromTraceFs() 79 std::vector<EventType> result; in GetTracepointEventTypesFromTraceFs() 95 result.push_back(EventType(system_name + ":" + event_name, PERF_TYPE_TRACEPOINT, id, "", "")); in GetTracepointEventTypesFromTraceFs() 101 static std::vector<EventType> GetTracepointEventTypes() { in GetTracepointEventTypes() 102 std::vector<EventType> result; in GetTracepointEventTypes() 109 [](const EventType& type1, const EventType& type2) { return type1.name < type2.name; }); in GetTracepointEventTypes() [all …]
|
D | event_attr.h | 27 struct EventType; 34 perf_event_attr CreateDefaultPerfEventAttr(const EventType& event_type);
|
D | cmd_list.cpp | 32 static bool IsEventTypeSupported(const EventType& event_type) { in IsEventTypeSupported() 72 const std::set<EventType>& event_types) { in PrintEventTypesOfType()
|
D | event_selection_set.cpp | 34 const EventType* type = FindEventTypeByName("cpu-cycles"); in IsBranchSamplingSupported() 45 const EventType* type = FindEventTypeByName("cpu-cycles"); in IsDwarfCallChainSamplingSupported() 59 const EventType* event_type = FindEventTypeByName("sched:sched_switch", false); in IsDumpingRegsForTracepointEventsSupported() 107 const EventType* type = FindEventTypeByName("cpu-cycles"); in IsSettingClockIdSupported() 123 const EventType* type = FindEventTypeByName("cpu-cycles"); in IsMmap2Supported() 232 std::vector<const EventType*> EventSelectionSet::GetEvents() const { in GetEvents() 233 std::vector<const EventType*> result; in GetEvents() 242 std::vector<const EventType*> EventSelectionSet::GetTracepointEvents() const { in GetTracepointEvents() 243 std::vector<const EventType*> result; in GetTracepointEvents()
|
D | event_selection_set.h | 96 std::vector<const EventType*> GetEvents() const; 97 std::vector<const EventType*> GetTracepointEvents() const;
|
D | tracing.h | 104 bool GetTracingData(const std::vector<const EventType*>& event_types,
|
D | record_test.cpp | 27 const EventType* type = FindEventTypeByName("cpu-clock"); in SetUp()
|
D | cmd_trace_sched.cpp | 201 const EventType* event = FindEventTypeByName("sched:sched_stat_runtime"); in ParseSchedEvents() 245 const EventType* event = FindEventTypeByName("sched:sched_stat_runtime"); in ProcessRecord()
|
D | event_attr.cpp | 78 perf_event_attr CreateDefaultPerfEventAttr(const EventType& event_type) { in CreateDefaultPerfEventAttr()
|
D | RecordReadThread_test.cpp | 124 const EventType* type = FindEventTypeByName("cpu-clock"); in CreateFakeEventAttr()
|
D | tracing.cpp | 409 bool GetTracingData(const std::vector<const EventType*>& event_types, in GetTracingData()
|
D | cmd_stat.cpp | 653 const EventType* type = FindEventTypeByName(name); in AddDefaultMeasuredEventTypes()
|
D | cmd_record_test.cpp | 73 const EventType* type = FindEventTypeByName(event_type); in CheckEventType()
|
D | cmd_record.cpp | 1075 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 | 83 enum class EventType { kSend, kReceive, kAccept }; enum 86 Event(EventType _type, std::string _message, ssize_t _status, 89 EventType type;
|
/system/core/fastboot/fuzzy_fastboot/ |
D | usb_transport_sniffer.h | 52 enum EventType { enum 62 Event(EventType t, const std::vector<char> cbuf) : type(t), buf(cbuf) { in Event() 65 EventType type;
|
/system/extras/perfprofd/ |
D | perf_profile.proto | 88 enum EventType { enum 93 optional EventType event = 1;
|
/system/netd/resolv/ |
D | stats.proto | 20 enum EventType { enum 227 optional EventType event_type = 1;
|
/system/core/adb/ |
D | sysdeps_win32.cpp | 1299 if (input_record->EventType == WINDOW_BUFFER_SIZE_EVENT) { in _get_key_event_record() 1304 if ((input_record->EventType == KEY_EVENT) && in _get_key_event_record()
|