Searched refs:CreateCommandInstance (Results 1 – 18 of 18) sorted by relevance
49 std::unique_ptr<Command> cmd = CreateCommandInstance(args[0]); in Run()80 std::unique_ptr<Command> cmd = CreateCommandInstance(cmd_name); in PrintShortHelp()
41 auto recordCmd = CreateCommandInstance("record"); in Record()53 auto injectCmd = CreateCommandInstance("inject"); in Inject()
64 ASSERT_TRUE(CreateCommandInstance("api-prepare")->Run({})); in RecordApp()79 CreateCommandInstance("api-collect")->Run({"--app", package_name, "-o", tmpfile.path})); in RecordApp()
33 TEST(command, CreateCommandInstance) { in TEST() argument34 ASSERT_TRUE(CreateCommandInstance("mock1") == nullptr); in TEST()36 ASSERT_TRUE(CreateCommandInstance("mock1") != nullptr); in TEST()38 ASSERT_TRUE(CreateCommandInstance("mock1") == nullptr); in TEST()
35 return CreateCommandInstance("debug-unwind"); in DebugUnwindCmd()88 ASSERT_TRUE(CreateCommandInstance("report-sample")->Run( in TEST()
27 list_cmd = CreateCommandInstance("list"); in SetUp()
43 return CreateCommandInstance("trace-sched"); in TraceSchedCmd()
26 return CreateCommandInstance("dump"); in DumpCmd()
162 std::unique_ptr<Command> CreateCommandInstance(const std::string& cmd_name) { in CreateCommandInstance() function268 std::unique_ptr<Command> command = CreateCommandInstance(args[0]); in RunSimpleperfCmd()
28 static std::unique_ptr<Command> InjectCmd() { return CreateCommandInstance("inject"); } in InjectCmd()
33 return CreateCommandInstance("kmem"); in KmemCmd()
203 std::unique_ptr<Command> CreateCommandInstance(const std::string& cmd_name);
27 return CreateCommandInstance("report-sample"); in ReportSampleCmd()
34 return CreateCommandInstance("report"); in ReportCmd()514 return CreateCommandInstance("record"); in RecordCmd()
54 return CreateCommandInstance("record"); in RecordCmd()1011 CreateCommandInstance("inject")->Run({"-i", record_file.path, "-o", inject_file.path})); in TEST()1098 ASSERT_TRUE(CreateCommandInstance("dump")->Run({tmpfile.path})); in TEST()
174 std::unique_ptr<Command> record_cmd = CreateCommandInstance("record"); in RecordSchedEvents()
35 return CreateCommandInstance("stat"); in StatCmd()
468 std::unique_ptr<Command> record_cmd = CreateCommandInstance("record"); in RecordKmemInfo()