/system/extras/simpleperf/ |
D | cmd_stat.cpp | 191 for (auto& event_type : event_types) { in ParseOptions() local 192 if (!AddMeasuredEventType(event_type)) { in ParseOptions() 260 for (auto& event_type : measured_event_types_) { in SetEventSelection() local 261 if (!event_selection_set_.AddEventType(event_type)) { in SetEventSelection() 271 if (event_type_modifier.event_type.name == "cpu-clock" || in ReadableCountValue() 272 event_type_modifier.event_type.name == "task-clock") { in ReadableCountValue() 288 const EventTypeAndModifier* event_type; member 298 const std::string& type_name = summary.event_type->event_type.name; in GetCommentForSummary() 299 const std::string& modifier = summary.event_type->modifier; in GetCommentForSummary() 314 if (t.event_type->event_type.name == "cpu-cycles" && t.event_type->modifier == modifier) { in GetCommentForSummary() [all …]
|
D | event_type.cpp | 78 for (auto& event_type : GetAllEventTypes()) { in FindEventTypeByConfig() local 79 if (event_type.type == type && event_type.config == config) { in FindEventTypeByConfig() 80 return &event_type; in FindEventTypeByConfig() 88 for (auto& event_type : GetAllEventTypes()) { in FindEventTypeByName() local 89 if (event_type.name == name) { in FindEventTypeByName() 90 result = &event_type; in FindEventTypeByName() 123 const EventType* event_type = FindEventTypeByName(event_type_name); in ParseEventType() local 124 if (event_type == nullptr) { in ParseEventType() 129 event_type = FindEventTypeByName(event_type_name); in ParseEventType() 131 if (event_type == nullptr) { in ParseEventType() [all …]
|
D | cmd_list.cpp | 33 for (auto& event_type : event_types) { in PrintEventTypesOfType() local 34 if (event_type.type == type) { in PrintEventTypesOfType() 35 perf_event_attr attr = CreateDefaultPerfEventAttr(event_type); in PrintEventTypesOfType() 40 printf(" %s\n", event_type.name.c_str()); in PrintEventTypesOfType()
|
D | event_attr.cpp | 77 perf_event_attr CreateDefaultPerfEventAttr(const EventType& event_type) { in CreateDefaultPerfEventAttr() argument 81 attr.type = event_type.type; in CreateDefaultPerfEventAttr() 82 attr.config = event_type.config; in CreateDefaultPerfEventAttr() 104 const EventType* event_type = FindEventTypeByConfig(attr.type, attr.config); in DumpPerfEventAttr() local 105 if (event_type != nullptr) { in DumpPerfEventAttr() 106 event_name = event_type->name; in DumpPerfEventAttr()
|
D | generate_event_type_table.py | 19 def gen_event_type_entry_str(event_type_name, event_type, event_config): argument 24 return '{"%s", %s, %s},\n' % (event_type_name, event_type, event_config)
|
D | event_fd.cpp | 49 const EventType* event_type = FindEventTypeByConfig(perf_attr.type, perf_attr.config); in OpenEventFile() local 50 if (event_type != nullptr) { in OpenEventFile() 51 event_name = event_type->name; in OpenEventFile()
|
D | event_attr.h | 26 perf_event_attr CreateDefaultPerfEventAttr(const EventType& event_type);
|
D | cmd_record.cpp | 350 for (auto& event_type : event_types) { in ParseOptions() local 351 if (!AddMeasuredEventType(event_type)) { in ParseOptions() 468 for (auto& event_type : measured_event_types_) { in SetEventSelection() local 469 if (!event_selection_set_.AddEventType(event_type)) { in SetEventSelection() 514 for (auto& event_type : measured_event_types_) { in CreateRecordFile() local 516 attr_id.attr = event_selection_set_.FindEventAttrByType(event_type); in CreateRecordFile() 519 event_selection_set_.FindEventFdsByType(event_type); in CreateRecordFile()
|
D | event_type.h | 49 EventType event_type; member
|
D | event_selection_set.h | 31 const EventTypeAndModifier* event_type; member
|
D | event_selection_set.cpp | 56 selection.event_attr = CreateDefaultPerfEventAttr(event_type_modifier.event_type); in AddEventType() 238 counters_info.event_type = &selection.event_type_modifier; in ReadCounters()
|
D | cpu_hotplug_test.cpp | 228 perf_event_attr attr = CreateDefaultPerfEventAttr(event_type_modifier->event_type); in OpenHardwareEventOnCpu()
|
D | record_file_test.cpp | 40 perf_event_attr attr = CreateDefaultPerfEventAttr(event_type_modifier->event_type); in AddEventType()
|
D | cmd_report.cpp | 689 const EventType* event_type = FindEventTypeByConfig(event_attr_.type, event_attr_.config); in PrintReportContext() local 691 if (event_type != nullptr) { in PrintReportContext() 692 event_type_name = event_type->name; in PrintReportContext()
|
D | Android.mk | 79 event_type.cpp \
|
/system/extras/perfprofd/quipper/ |
D | perf_utils.cc | 90 uint64_t GetSampleFieldsForEventType(uint32_t event_type, in GetSampleFieldsForEventType() argument 93 switch (event_type) { in GetSampleFieldsForEventType() 110 LOG(FATAL) << "Unknown event type " << event_type; in GetSampleFieldsForEventType()
|
D | perf_utils.h | 83 uint64_t GetSampleFieldsForEventType(uint32_t event_type, uint64_t sample_type);
|
D | perf_reader.cc | 141 perf_trace_event_type event_type; in CheckNoEventTypePadding() local 142 CHECK_EQ(sizeof(event_type), in CheckNoEventTypePadding() 143 sizeof(event_type.event_id) + sizeof(event_type.name)); in CheckNoEventTypePadding() 351 size_t ReadPerfSampleFromData(const perf_event_type event_type, in ReadPerfSampleFromData() argument 374 if (event_type == PERF_RECORD_SAMPLE) { in ReadPerfSampleFromData() 421 if (event_type != PERF_RECORD_SAMPLE) { in ReadPerfSampleFromData() 483 size_t WritePerfSampleToData(const perf_event_type event_type, in WritePerfSampleToData() argument 501 if (event_type == PERF_RECORD_SAMPLE) { in WritePerfSampleToData() 549 if (event_type != PERF_RECORD_SAMPLE) { in WritePerfSampleToData()
|
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/ |
D | event.h | 172 struct perf_trace_event_type event_type; member 192 struct event_type_event event_type; member
|
/system/bt/service/ |
D | low_energy_client.cpp | 276 int event_type; member 290 out_params->event_type = kAdvertisingEventTypeConnectable; in GetAdvertiseParams() 292 out_params->event_type = kAdvertisingEventTypeScannable; in GetAdvertiseParams() 294 out_params->event_type = kAdvertisingEventTypeNonConnectable; in GetAdvertiseParams() 493 params.event_type, in StartAdvertising()
|
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/ |
D | event.h | 164 struct perf_trace_event_type event_type; member 182 struct event_type_event event_type; member
|
/system/connectivity/shill/ |
D | connection_diagnostics.cc | 580 Type event_type = address.Equals(connection_->gateway()) in PingHost() local 585 weak_ptr_factory_.GetWeakPtr(), event_type, address))) { in PingHost() 588 AddEventWithMessage(event_type, kPhaseStart, kResultFailure, in PingHost() 595 AddEventWithMessage(event_type, kPhaseStart, kResultSuccess, in PingHost()
|