Searched refs:RecordCmd (Results 1 – 3 of 3) sorted by relevance
/system/extras/simpleperf/ |
D | cmd_record_test.cpp | 53 static std::unique_ptr<Command> RecordCmd() { in RecordCmd() function 83 return RecordCmd()->Run(v); in RunRecordCmd() 145 ASSERT_TRUE(RecordCmd()->Run({"-o", tmpfile.path, "-e", GetDefaultEvent(), "sleep", SLEEP_SEC})); in TEST() 405 ASSERT_FALSE(RecordCmd()->Run({"-o", tmpfile.path})); in TEST() 406 ASSERT_FALSE(RecordCmd()->Run({"-o", tmpfile.path, ""})); in TEST() 511 ASSERT_TRUE(RecordCmd()->Run({"-a", "-o", tmpfile.path, "-e", GetDefaultEvent(), "sleep", "1"})); in TEST() 536 ASSERT_TRUE(RecordCmd()->Run({"--duration", "1.2", "-p", std::to_string(getpid()), "-o", in TEST() 538 ASSERT_TRUE(RecordCmd()->Run( in TEST() 563 RecordCmd()->Run({"-o", tmpfile.path, "--start_profiling_fd", std::to_string(write_fd), "-e", in TEST() 580 ASSERT_TRUE(RecordCmd()->Run( in TEST() [all …]
|
D | cmd_report_test.cpp | 513 static std::unique_ptr<Command> RecordCmd() { in RecordCmd() function 526 RecordCmd()->Run({"-p", pid, "-g", "-o", tmp_file.path, "sleep", SLEEP_SEC})); in TEST_F() 548 ASSERT_TRUE(RecordCmd()->Run({"--trace-offcpu", "-e", "cpu-cycles:u", "-p", pid, in TEST_F()
|
/system/extras/simpleperf/app_api/cpp/ |
D | simpleperf.cpp | 35 enum RecordCmd { enum
|