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)])
229 pid = None
236 pid = args.target_pid
239 pid = get_remote_pid(device, args.target_name)
255 assert pid is not None
257 binary_file, local = gdbrunner.find_binary(device, pid, sysroot,
260 sys.exit("failed to pull binary for PID {}".format(pid))
266 return (binary_file, pid, run_cmd)
456 pid = None
460 binary_file, pid, run_cmd = handle_switches(args, sysroot)
481 tracer_pid = get_tracer_pid(device, pid)
502 target_pid=pid, run_cmd=run_cmd, debug_socket=debug_socket,