Home | History | Annotate | Download | only in coregrind

Lines Matching refs:ctl

80 /* Process control file /proc/<pid>/ctl.
130 snprintf(procname, sizeof(procname), "/proc/%d/ctl", pid);
144 ctl_t ctl;
145 ctl.cmd = PCSET;
146 ctl.arg.flags = PR_RLC;
147 size_t bytes = sizeof(ctl.cmd) + sizeof(ctl.arg.flags);
148 ssize_t written = write(ctl_fd, (void *) &ctl, bytes);
157 ctl.cmd = PCSTOP;
158 bytes = sizeof(ctl.cmd);
159 written = write(ctl_fd, (void *) &ctl, bytes);
378 ctl_t ctl;
379 ctl.cmd = PCAGENT;
380 memcpy(&ctl.arg.regs, regs, sizeof(prgregset_t));
381 size_t bytes = sizeof(ctl.cmd) + sizeof(ctl.arg.regs);
382 ssize_t written = write(ctl_fd, (void *) &ctl, bytes);
427 ctl.cmd = PCRUN;
428 ctl.arg.flags = 0;
429 bytes = sizeof(ctl.cmd) + sizeof(ctl.arg.flags);
430 written = write(agent_ctl_fd, (void *) &ctl, bytes);
468 ctl_t ctl;
469 ctl.cmd = PCWSTOP;
470 size_t bytes = sizeof(ctl.cmd);
471 ssize_t written = write(agent_ctl_fd, (void *) &ctl, bytes);