Searched refs:AddEventType (Results 1 – 7 of 7) sorted by relevance
37 void AddEventType(const std::string& event_type_str) { in AddEventType() function in RecordFileTest60 AddEventType("cpu-cycles"); in TEST_F()108 AddEventType("cpu-cycles"); in TEST_F()109 AddEventType("cpu-clock"); in TEST_F()110 AddEventType("task-clock"); in TEST_F()130 AddEventType("cpu-cycles"); in TEST_F()
231 ASSERT_TRUE(set.AddEventType("cpu-cycles")); in TEST()286 ASSERT_TRUE(set.AddEventType("cpu-cycles")); in TEST()291 ASSERT_TRUE(set2.AddEventType("instructions")); in TEST()
89 bool AddEventType(const std::string& event_name, size_t* group_id = nullptr);
139 if (!set->AddEventType(name)) { in CreateEventSelectionSet()
641 if (!event_selection_set_.AddEventType(event_type)) { in ParseOptions()739 if (!event_selection_set_.AddEventType(name)) { in AddDefaultMeasuredEventTypes()
424 if (!event_selection_set_.AddEventType(default_measured_event_type, &group_id)) { in PrepareRecording()817 if (!event_selection_set_.AddEventType(event_type, &group_id)) { in ParseOptions()1071 return event_selection_set_.AddEventType("sched:sched_switch"); in TraceOffCpu()
224 bool EventSelectionSet::AddEventType(const std::string& event_name, size_t* group_id) { in AddEventType() function in EventSelectionSet