Searched refs:GetDefaultEvent (Results 1 – 2 of 2) sorted by relevance
/aosp12/system/extras/simpleperf/ |
H A D | cmd_record_test.cpp | 59 static const char* GetDefaultEvent() { in GetDefaultEvent() function 72 v.insert(v.end(), {"-e", GetDefaultEvent()}); in RunRecordCmd() 120 CheckEventType(tmpfile.path, GetDefaultEvent(), 100000u, 0); in TEST() 130 CheckEventType(tmpfile.path, GetDefaultEvent(), 0, 99u); in TEST() 225 ASSERT_TRUE(RunRecordCmd({"-e", GetDefaultEvent() + std::string(":u")})); in TEST() 425 tmpfile.path, "--in-app", "-e", GetDefaultEvent()})); in TEST() 427 {"--duration", "1", "-o", tmpfile.path, "-e", GetDefaultEvent(), "sleep", "2"})); in TEST() 451 GetDefaultEvent(), "sleep", "1000000"})); in TEST() 469 {"-o", tmpfile.path, "-t", std::to_string(tid), "--in-app", "-e", GetDefaultEvent()})); in TEST() 479 {"-o", tmpfile.path, "-p", pid, "--duration", "3", "-e", GetDefaultEvent()})); in TEST() [all …]
|
H A D | cmd_monitor_test.cpp | 35 static const char* GetDefaultEvent() { in GetDefaultEvent() function 48 v.insert(v.end(), {"-e", GetDefaultEvent()}); in RunMonitorCmd()
|