Home
last modified time | relevance | path

Searched refs:RunRecordCmd (Results 1 – 1 of 1) sorted by relevance

/system/extras/simpleperf/
Dcmd_record_test.cpp61 static bool RunRecordCmd(std::vector<std::string> v, in RunRecordCmd() function
87 ASSERT_TRUE(RunRecordCmd({})); in TEST()
91 TEST_IN_ROOT(ASSERT_TRUE(RunRecordCmd({"-a"}))); in TEST()
118 ASSERT_TRUE(RunRecordCmd({"-c", "100000"}, tmpfile.path)); in TEST()
123 ASSERT_TRUE(RunRecordCmd({"-e", "cpu-clock"})); in TEST()
128 ASSERT_TRUE(RunRecordCmd({"-f", "99"}, tmpfile.path)); in TEST()
130 ASSERT_TRUE(RunRecordCmd({"-e", "cpu-clock", "-f", "99"}, tmpfile.path)); in TEST()
132 ASSERT_FALSE(RunRecordCmd({"-f", std::to_string(UINT_MAX)})); in TEST()
137 ASSERT_TRUE(RunRecordCmd({"-f", "99", "-e", "task-clock", "-c", "1000000", "-e", in TEST()
150 ASSERT_TRUE(RunRecordCmd({}, tmpfile.path)); in TEST()
[all …]