Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Dcmd_record_test.cpp55 static std::unique_ptr<Command> RecordCmd() { in RecordCmd() function
84 return RecordCmd()->Run(v); in RunRecordCmd()
146 ASSERT_TRUE(RecordCmd()->Run({"-o", tmpfile.path, "-e", GetDefaultEvent(), "sleep", SLEEP_SEC})); in TEST()
303 ASSERT_FALSE(RecordCmd()->Run({"-o", tmpfile.path})); in TEST()
304 ASSERT_FALSE(RecordCmd()->Run({"-o", tmpfile.path, ""})); in TEST()
399 ASSERT_TRUE(RecordCmd()->Run({"-a", "-o", tmpfile.path, "-e", GetDefaultEvent(), "sleep", "1"})); in TEST()
424 ASSERT_TRUE(RecordCmd()->Run({"--duration", "1.2", "-p", std::to_string(getpid()), "-o", in TEST()
426 ASSERT_TRUE(RecordCmd()->Run( in TEST()
450 RecordCmd()->Run({"-o", tmpfile.path, "--start_profiling_fd", std::to_string(write_fd), "-e", in TEST()
468 ASSERT_TRUE(RecordCmd()->Run( in TEST()
[all …]
Dcmd_report_test.cpp538 static std::unique_ptr<Command> RecordCmd() { in RecordCmd() function
550 ASSERT_TRUE(RecordCmd()->Run({"-p", pid, "-g", "-o", tmp_file.path, "sleep", SLEEP_SEC})); in TEST_F()
571 ASSERT_TRUE(RecordCmd()->Run({"--trace-offcpu", "-e", "cpu-cycles:u", "-p", pid, "--duration", in TEST_F()
/system/extras/simpleperf/app_api/cpp/
Dsimpleperf.cpp37 enum RecordCmd { enum