Searched refs:arg_str (Results 1 – 2 of 2) sorted by relevance
/system/extras/simpleperf/ |
D | RecordFilter.cpp | 154 std::string arg_str; in Read() local 160 if (SearchCmd(line, "CLOCK", &arg_str)) { in Read() 161 if (!SplitArgs(arg_str, 1, &args)) { in Read() 165 } else if (SearchCmd(line, "GLOBAL_BEGIN", &arg_str)) { in Read() 166 if (!SplitArgs(arg_str, 1, &args) || !ParseTimestamp(args[0], ×tamp)) { in Read() 170 } else if (SearchCmd(line, "GLOBAL_END", &arg_str)) { in Read() 171 if (!SplitArgs(arg_str, 1, &args) || !ParseTimestamp(args[0], ×tamp) || in Read() 175 } else if (SearchCmd(line, "PROCESS_BEGIN", &arg_str)) { in Read() 176 if (!SplitArgs(arg_str, 2, &args) || !ParsePid(args[0], &pid) || in Read() 181 } else if (SearchCmd(line, "PROCESS_END", &arg_str)) { in Read() [all …]
|
D | workload.cpp | 56 std::string arg_str = android::base::Join(args, ' '); in RunCmd() local 57 int ret = system(arg_str.c_str()); in RunCmd() 59 LOG(ERROR) << "Failed to run cmd " << arg_str << ", exitcode " << ret; in RunCmd()
|