Home
last modified time | relevance | path

Searched refs:AddEventType (Results 1 – 8 of 8) sorted by relevance

/system/extras/simpleperf/
Drecord_file_test.cpp41 void AddEventType(const std::string& event_type_str) { in AddEventType() function in RecordFileTest
64 AddEventType("cpu-cycles"); in TEST_F()
112 AddEventType("cpu-cycles"); in TEST_F()
113 AddEventType("cpu-clock"); in TEST_F()
114 AddEventType("task-clock"); in TEST_F()
134 AddEventType("cpu-cycles"); in TEST_F()
158 AddEventType("cpu-cycles"); in TEST_F()
Dcmd_stat_test.cpp228 ASSERT_TRUE(set.AddEventType("cpu-cycles")); in TEST()
285 ASSERT_TRUE(set.AddEventType("cpu-cycles")); in TEST()
290 ASSERT_TRUE(set2.AddEventType("instructions")); in TEST()
Devent_selection_set.h110 bool AddEventType(const std::string& event_name, size_t* group_id = nullptr);
Drecord_lib_interface.cpp141 if (!set->AddEventType(name)) { in CreateEventSelectionSet()
Dcmd_stat.cpp655 if (!event_selection_set_.AddEventType(event_type)) { in ParseOptions()
741 if (!event_selection_set_.AddEventType(name)) { in AddDefaultMeasuredEventTypes()
Dcmd_monitor.cpp406 if (!event_selection_set_.AddEventType(event_type, &group_id)) { in ParseOptions()
Dcmd_record.cpp504 if (!event_selection_set_.AddEventType(default_measured_event_type, &group_id)) { in PrepareRecording()
1056 if (!event_selection_set_.AddEventType(event_type, &group_id)) { in ParseOptions()
1195 return event_selection_set_.AddEventType("sched:sched_switch"); in TraceOffCpu()
Devent_selection_set.cpp251 bool EventSelectionSet::AddEventType(const std::string& event_name, size_t* group_id) { in AddEventType() function in simpleperf::EventSelectionSet