/system/extras/simpleperf/ |
D | event_type.h | 32 struct EventType { struct 33 EventType(const std::string& name, uint32_t type, uint64_t config, in EventType() function 39 EventType() : type(0), config(0) { in EventType() function 42 bool operator<(const EventType& other) const { 65 static std::string BuildString(const std::vector<const EventType*>& event_types); argument 71 std::set<EventType> saved_event_types_; 75 const std::set<EventType>& GetAllEventTypes(); 76 const EventType* FindEventTypeByName(const std::string& name, bool report_error = true); 80 EventType event_type;
|
D | cmd_list.cpp | 43 static EventTypeStatus IsEventTypeSupported(const EventType& event_type) { in IsEventTypeSupported() 89 const std::function<bool(const EventType&)>& is_type_fn, in PrintEventTypesOfType() 90 const std::set<EventType>& event_types) { in PrintEventTypesOfType() 159 static std::map<std::string, std::pair<std::string, std::function<bool(const EventType&)>>> in Run() 162 {"hardware events", [](const EventType& e) { return e.type == PERF_TYPE_HARDWARE; }}}, in Run() 164 {"software events", [](const EventType& e) { return e.type == PERF_TYPE_SOFTWARE; }}}, in Run() 166 {"hw-cache events", [](const EventType& e) { return e.type == PERF_TYPE_HW_CACHE; }}}, in Run() 169 [](const EventType& e) { return e.type == PERF_TYPE_RAW; }}}, in Run() 172 [](const EventType& e) { return e.type == PERF_TYPE_TRACEPOINT; }}}, in Run() 176 [](const EventType& e) { in Run() [all …]
|
D | event_type.cpp | 51 static const std::vector<EventType> static_event_type_array = { 56 static std::set<EventType> g_event_types; 81 static std::vector<EventType> GetTracepointEventTypesFromString(const std::string& s) { in GetTracepointEventTypesFromString() 82 std::vector<EventType> result; in GetTracepointEventTypesFromString() 89 result.push_back(EventType(event_name, PERF_TYPE_TRACEPOINT, id, "", "")); in GetTracepointEventTypesFromString() 94 static std::vector<EventType> GetTracepointEventTypesFromTraceFs() { in GetTracepointEventTypesFromTraceFs() 95 std::vector<EventType> result; in GetTracepointEventTypesFromTraceFs() 115 result.push_back(EventType(system_name + ":" + event_name, PERF_TYPE_TRACEPOINT, id, "", "")); in GetTracepointEventTypesFromTraceFs() 121 static std::vector<EventType> GetTracepointEventTypes() { in GetTracepointEventTypes() 122 std::vector<EventType> result; in GetTracepointEventTypes() [all …]
|
D | event_attr.h | 27 struct EventType; 34 perf_event_attr CreateDefaultPerfEventAttr(const EventType& event_type);
|
D | tracing.h | 106 bool GetTracingData(const std::vector<const EventType*>& event_types, 115 std::optional<FieldNameSet> GetFieldNamesForTracepointEvent(const EventType& event);
|
D | event_selection_set.cpp | 41 const EventType* type = FindEventTypeByName("cpu-cycles"); in IsBranchSamplingSupported() 52 const EventType* type = FindEventTypeByName("cpu-clock"); in IsDwarfCallChainSamplingSupported() 66 const EventType* event_type = FindEventTypeByName("sched:sched_switch", false); in IsDumpingRegsForTracepointEventsSupported() 113 const EventType* type = FindEventTypeByName("cpu-clock"); in IsSettingClockIdSupported() 129 const EventType* type = FindEventTypeByName("cpu-clock"); in IsMmap2Supported() 280 std::vector<const EventType*> EventSelectionSet::GetEvents() const { in GetEvents() 281 std::vector<const EventType*> result; in GetEvents() 290 std::vector<const EventType*> EventSelectionSet::GetTracepointEvents() const { in GetTracepointEvents() 291 std::vector<const EventType*> result; in GetTracepointEvents()
|
D | ETMRecorder.h | 56 std::unique_ptr<EventType> BuildEventType();
|
D | profcollect.cpp | 32 const EventType* type = FindEventTypeByName("cs-etm", false); in HasSupport()
|
D | ETMRecorder.cpp | 101 std::unique_ptr<EventType> ETMRecorder::BuildEventType() { in BuildEventType() 106 return std::make_unique<EventType>( in BuildEventType()
|
D | event_selection_set.h | 110 std::vector<const EventType*> GetEvents() const; 111 std::vector<const EventType*> GetTracepointEvents() const;
|
D | record_test.cpp | 27 const EventType* type = FindEventTypeByName("cpu-clock"); in SetUp()
|
D | cmd_trace_sched.cpp | 191 const EventType* event = FindEventTypeByName("sched:sched_stat_runtime"); in ParseSchedEvents() 235 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 | tracing.cpp | 407 bool GetTracingData(const std::vector<const EventType*>& event_types, in GetTracingData() 610 std::optional<FieldNameSet> GetFieldNamesForTracepointEvent(const EventType& event) { in GetFieldNamesForTracepointEvent()
|
D | RecordReadThread_test.cpp | 141 const EventType* type = FindEventTypeByName("cpu-clock"); in CreateFakeEventAttr() 456 const EventType* type = FindEventTypeByName("cs-etm"); in TEST_F()
|
D | cmd_record_test.cpp | 96 const EventType* type = FindEventTypeByName(event_type); in CheckEventType() 300 const EventType* type = FindEventTypeByName("instructions", false); in HasNonZeroInstructionEventCount()
|
D | cmd_record.cpp | 1087 std::vector<const EventType*> events = event_selection_set_.GetEvents(); in TraceOffCpu() 1160 std::vector<const EventType*> tracepoint_event_types = in DumpTracingData()
|
D | cmd_stat.cpp | 752 const EventType* type = FindEventTypeByName(name); in AddDefaultMeasuredEventTypes()
|
/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 | 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/teeui/libteeui/example/ |
D | touch_button_example.cpp | 53 if (e.event_ == EventType::KeyUp) { in tapOk() 61 if (e.event_ == EventType::KeyUp) { in tapCancel() 94 Event event{x, y, EventType::KeyUp}; in onEvent()
|
/system/bt/gd/hci/ |
D | le_scanning_manager.cc | 97 template <class EventType, class ReportStructType, class ReportType> 98 void handle_advertising_report(EventType event_view) { in handle_advertising_report()
|
/system/teeui/libteeui/include/teeui/ |
D | utils.h | 862 enum class EventType : uint8_t { 871 EventType event_;
|
/system/core/adb/ |
D | sysdeps_win32.cpp | 1386 if (input_record->EventType == WINDOW_BUFFER_SIZE_EVENT) { in _get_key_event_record() 1391 if ((input_record->EventType == KEY_EVENT) && in _get_key_event_record()
|