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() |
||
---|---|---|
.. | ||
aout | ||
common | ||
freebsd | ||
hpux | ||
ibcs2 | ||
linux | ||
m68k4k | ||
netbsd32 | ||
osf1 | ||
ossaudio | ||
sunos | ||
svr4 | ||
ultrix | ||
vax1k | ||
Makefile |