Lines Matching refs:options
377 static bool ProcessOptions(std::string options) { in ProcessOptions() argument
379 if (options.empty()) { in ProcessOptions()
389 size_t comma_pos = options.find(','); in ProcessOptions()
393 sampling_rate = std::stoi(options.substr(0, comma_pos)); in ProcessOptions()
394 options = options.substr(comma_pos + 1); in ProcessOptions()
395 comma_pos = options.find(','); in ProcessOptions()
399 stack_depth_limit = std::stoi(options.substr(0, comma_pos)); in ProcessOptions()
400 output_file_path = options.substr(comma_pos + 1); in ProcessOptions()
411 char* options, in AgentStart() argument
414 if (!ProcessOptions(options)) { in AgentStart()
451 extern "C" JNIEXPORT jint JNICALL Agent_OnAttach(JavaVM *vm, char* options, void* reserved) { in Agent_OnAttach() argument
452 return AgentStart(vm, options, reserved); in Agent_OnAttach()
456 extern "C" JNIEXPORT jint JNICALL Agent_OnLoad(JavaVM* jvm, char* options, void* reserved) { in Agent_OnLoad() argument
457 return AgentStart(jvm, options, reserved); in Agent_OnLoad()