Searched refs:AddEventType (Results 1 – 8 of 8) sorted by relevance
42 void AddEventType(const std::string& event_type_str) { in AddEventType() function in RecordFileTest65 AddEventType("cpu-cycles"); in TEST_F()113 AddEventType("cpu-cycles"); in TEST_F()114 AddEventType("cpu-clock"); in TEST_F()115 AddEventType("task-clock"); in TEST_F()135 AddEventType("cpu-cycles"); in TEST_F()159 AddEventType("cpu-cycles"); in TEST_F()189 AddEventType("cpu-cycles"); in TEST_F()
228 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()
110 bool AddEventType(const std::string& event_name, size_t* group_id = nullptr);
141 if (!set->AddEventType(name)) { in CreateEventSelectionSet()
666 if (!event_selection_set_.AddEventType(event_type)) { in ParseOptions()816 if (!event_selection_set_.AddEventType(name)) { in AddDefaultMeasuredEventTypes()
411 if (!event_selection_set_.AddEventType(event_type, &group_id)) { in ParseOptions()
535 if (!event_selection_set_.AddEventType(event_type, &group_id)) { in PrepareRecording()1116 if (!event_selection_set_.AddEventType(event_type, &group_id)) { in ParseOptions()1255 if (!event_selection_set_.AddEventType("sched:sched_switch")) { in TraceOffCpu()
277 bool EventSelectionSet::AddEventType(const std::string& event_name, size_t* group_id) { in AddEventType() function in simpleperf::EventSelectionSet