40339b39f9
- Change ktrace interface to pass in the current process, rather than p->p_tracep, since the various ktr* function need curproc anyway. - Add curproc as a parameter to mi_switch() since all callers had it handy anyway. - Add a second proc argument for inferior() since callers all had curproc handy. Also, miscellaneous cleanups in ktrace: - ktrace now always uses file-based, rather than vnode-based I/O (simplifies, increases type safety); eliminate KTRFLAG_FD & KTRFAC_FD. Do non-blocking I/O, and yield a finite number of times when receiving EWOULDBLOCK before giving up. - move code duplicated between sys_fktrace and sys_ktrace into ktrace_common. - simplify interface to ktrwrite() |
||
---|---|---|
.. | ||
files.hpux | ||
hpux_compat.c | ||
hpux_errno.c | ||
hpux_exec.c | ||
hpux_exec.h | ||
hpux_file.c | ||
hpux_ipc.c | ||
hpux_ipc.h | ||
hpux_net.c | ||
hpux_sig.c | ||
hpux_sig.h | ||
hpux_syscall.h | ||
hpux_syscallargs.h | ||
hpux_syscalls.c | ||
hpux_sysent.c | ||
hpux_termio.h | ||
hpux_tty.c | ||
hpux_types.h | ||
hpux_util.h | ||
hpux.h | ||
Makefile | ||
syscalls.conf | ||
syscalls.master |