Lines Matching refs:controlCmd_
266 if (!Option::GetOptionValue(args, "--control", controlCmd_)) { in GetOptions()
393 if (!ParseControlCmd(controlCmd_)) { in CheckOptions()
411 if (controlCmd_.empty()) { in ParseOption()
448 if (!hasTarget and (controlCmd_.empty() or controlCmd_ == CONTROL_CMD_PREPARE)) { in CheckTargetProcessOptions()
452 if (controlCmd_ == CONTROL_CMD_PREPARE) { in CheckTargetProcessOptions()
909 if (controlCmd_.empty()) { in ProcessControl()
913 if (controlCmd_ == CONTROL_CMD_PREPARE) { in ProcessControl()
922 if (controlCmd_ == CONTROL_CMD_START) { in ProcessControl()
924 } else if (controlCmd_ == CONTROL_CMD_RESUME) { in ProcessControl()
926 } else if (controlCmd_ == CONTROL_CMD_PAUSE) { in ProcessControl()
928 } else if (controlCmd_ == CONTROL_CMD_STOP) { in ProcessControl()
944 printf("%s sampling success.\n", controlCmd_.c_str()); in ProcessControl()
946 printf("%s sampling failed.\n", controlCmd_.c_str()); in ProcessControl()
1098 if (restart_ && controlCmd_ == CONTROL_CMD_PREPARE) { in OnSubCommand()