Searched refs:AddEventType (Results 1 – 9 of 9) sorted by relevance
26 ASSERT_TRUE(event_selection_set.AddEventType("cpu-clock:u")); in TEST()28 ASSERT_TRUE(event_selection_set.AddEventType("page-faults:u")); in TEST()50 ASSERT_TRUE(event_selection_set.AddEventType("cpu-clock:u")); in TEST()51 ASSERT_TRUE(event_selection_set.AddEventType("context-switches", SampleRate(0, 1))); in TEST()67 ASSERT_TRUE(event_selection_set.AddEventType("cpu-clock:u")); in TEST()69 ASSERT_TRUE(event_selection_set.AddEventType("page-faults:u")); in TEST()
43 void AddEventType(const std::string& event_type_str) { in AddEventType() function in RecordFileTest65 AddEventType("cpu-cycles"); in TEST_F()114 AddEventType("cpu-cycles"); in TEST_F()115 AddEventType("cpu-clock"); in TEST_F()116 AddEventType("task-clock"); in TEST_F()137 AddEventType("cpu-cycles"); in TEST_F()162 AddEventType("cpu-cycles"); in TEST_F()193 AddEventType("cpu-cycles"); in TEST_F()
110 bool AddEventType(const std::string& event_name);111 bool AddEventType(const std::string& event_name, const SampleRate& sample_rate);
255 ASSERT_TRUE(set.AddEventType("cpu-cycles")); in TEST()315 ASSERT_TRUE(set.AddEventType("cpu-cycles")); in TEST()321 ASSERT_TRUE(set2.AddEventType("instructions")); in TEST()
141 if (!set->AddEventType(name)) { in CreateEventSelectionSet()
279 bool EventSelectionSet::AddEventType(const std::string& event_name) { in AddEventType() function in simpleperf::EventSelectionSet283 bool EventSelectionSet::AddEventType(const std::string& event_name, const SampleRate& sample_rate) { in AddEventType() function in simpleperf::EventSelectionSet
750 if (!event_selection_set_.AddEventType(event_type)) { in ParseOptions()865 if (!event_selection_set_.AddEventType(name)) { in AddDefaultMeasuredEventTypes()
405 if (!event_selection_set_.AddEventType(event_type)) { in ParseOptions()
586 if (!event_selection_set_.AddEventType(event_type)) { in PrepareRecording()1284 if (!event_selection_set_.AddEventType(event_type)) { in ParseOptions()1409 if (!event_selection_set_.AddEventType("sched:sched_switch", SampleRate(0, 1))) { in TraceOffCpu()