Home
last modified time | relevance | path

Searched refs:event_type (Results 1 – 22 of 22) sorted by relevance

/system/extras/simpleperf/
Dcmd_stat.cpp191 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 …]
Devent_type.cpp78 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 …]
Dcmd_list.cpp33 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()
Devent_attr.cpp77 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()
Dgenerate_event_type_table.py19 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)
Devent_fd.cpp49 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()
Devent_attr.h26 perf_event_attr CreateDefaultPerfEventAttr(const EventType& event_type);
Dcmd_record.cpp350 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()
Devent_type.h49 EventType event_type; member
Devent_selection_set.h31 const EventTypeAndModifier* event_type; member
Devent_selection_set.cpp56 selection.event_attr = CreateDefaultPerfEventAttr(event_type_modifier.event_type); in AddEventType()
238 counters_info.event_type = &selection.event_type_modifier; in ReadCounters()
Dcpu_hotplug_test.cpp228 perf_event_attr attr = CreateDefaultPerfEventAttr(event_type_modifier->event_type); in OpenHardwareEventOnCpu()
Drecord_file_test.cpp40 perf_event_attr attr = CreateDefaultPerfEventAttr(event_type_modifier->event_type); in AddEventType()
Dcmd_report.cpp689 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()
DAndroid.mk79 event_type.cpp \
/system/extras/perfprofd/quipper/
Dperf_utils.cc90 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()
Dperf_utils.h83 uint64_t GetSampleFieldsForEventType(uint32_t event_type, uint64_t sample_type);
Dperf_reader.cc141 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/
Devent.h172 struct perf_trace_event_type event_type; member
192 struct event_type_event event_type; member
/system/bt/service/
Dlow_energy_client.cpp276 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/
Devent.h164 struct perf_trace_event_type event_type; member
182 struct event_type_event event_type; member
/system/connectivity/shill/
Dconnection_diagnostics.cc580 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()