Searched refs:AddEventType (Results 1 – 8 of 8) sorted by relevance
41 void AddEventType(const std::string& event_type_str) { in AddEventType() function in RecordFileTest64 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()
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()
655 if (!event_selection_set_.AddEventType(event_type)) { in ParseOptions()741 if (!event_selection_set_.AddEventType(name)) { in AddDefaultMeasuredEventTypes()
406 if (!event_selection_set_.AddEventType(event_type, &group_id)) { in ParseOptions()
504 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()
251 bool EventSelectionSet::AddEventType(const std::string& event_name, size_t* group_id) { in AddEventType() function in simpleperf::EventSelectionSet