Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Dprofcollect.cpp77 std::vector<std::string> cmd_args(arg_count); in ConvertArgs() local
79 cmd_args[i] = args[i]; in ConvertArgs()
81 return cmd_args; in ConvertArgs()
85 std::vector<std::string> cmd_args = ConvertArgs(args, arg_count); in RunRecordCmd() local
86 LOG(INFO) << "Record " << android::base::Join(cmd_args, " "); in RunRecordCmd()
94 bool result = CreateCommandInstance("record")->Run(cmd_args); in RunRecordCmd()
100 std::vector<std::string> cmd_args = ConvertArgs(args, arg_count); in RunInjectCmd() local
101 LOG(INFO) << "Inject " << android::base::Join(cmd_args, " "); in RunInjectCmd()
102 bool result = CreateCommandInstance("inject")->Run(cmd_args); in RunInjectCmd()
Denvironment.cpp584 bool InAppRunner::RunCmdInApp(const std::string& cmd, const std::vector<std::string>& cmd_args, in RunCmdInApp() argument
628 for (size_t i = 0; i < cmd_args.size(); ++i) { in RunCmdInApp()
629 if (i < cmd_args.size() - workload_args_size) { in RunCmdInApp()
631 if (cmd_args[i] == "-o" || cmd_args[i] == "--app") { in RunCmdInApp()
636 args.push_back(cmd_args[i]); in RunCmdInApp()
/system/extras/simpleperf/scripts/
Dapi_profiler.py66 cmd_args = ['shell', '/data/local/tmp/simpleperf', 'api-prepare', '--app', self.args.app]
68 cmd_args += ['--days', str(self.args.days)]
69 self.adb.check_run(cmd_args)