Lines Matching refs:pid
84 def get_tracer_pid(device, pid): argument
85 if pid is None:
88 line, _ = device.shell(["grep", "-e", "^TracerPid:", "/proc/{}/status".format(pid)])
225 pid = None
232 pid = args.target_pid
235 pid = get_remote_pid(device, args.target_name)
251 assert pid is not None
253 binary_file, local = gdbrunner.find_binary(device, pid, sysroot,
256 sys.exit("failed to pull binary for PID {}".format(pid))
262 return (binary_file, pid, run_cmd)
414 pid = None
418 binary_file, pid, run_cmd = handle_switches(args, sysroot)
439 tracer_pid = get_tracer_pid(device, pid)
458 target_pid=pid, run_cmd=run_cmd, debug_socket=debug_socket,