Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: syssrc
Module Name: syssrc
Committed By: sommerfeld
Date: Sat May 27 00:40:48 UTC 2000
Modified Files:
syssrc/sys/arch/alpha/alpha: trap.c
syssrc/sys/arch/amiga/amiga: trap.c
syssrc/sys/arch/arm26/arm26: except.c
syssrc/sys/arch/arm32/arm32: syscall.c
syssrc/sys/arch/atari/atari: trap.c
syssrc/sys/arch/hp300/hp300: trap.c
syssrc/sys/arch/i386/i386: trap.c
syssrc/sys/arch/luna68k/luna68k: trap.c
syssrc/sys/arch/mac68k/mac68k: trap.c
syssrc/sys/arch/mips/mips: trap.c
syssrc/sys/arch/mvme68k/mvme68k: trap.c
syssrc/sys/arch/news68k/news68k: trap.c
syssrc/sys/arch/next68k/next68k: trap.c
syssrc/sys/arch/pc532/pc532: trap.c
syssrc/sys/arch/powerpc/powerpc: trap.c
syssrc/sys/arch/sh3/sh3: trap.c
syssrc/sys/arch/sparc/sparc: trap.c
syssrc/sys/arch/sparc64/sparc64: trap.c
syssrc/sys/arch/sun3/sun3: trap.c
syssrc/sys/arch/vax/vax: trap.c
syssrc/sys/arch/x68k/x68k: trap.c
syssrc/sys/compat/hpux: hpux_compat.c hpux_net.c
syssrc/sys/compat/netbsd32: netbsd32_netbsd.c
syssrc/sys/kern: kern_exec.c kern_ktrace.c kern_proc.c kern_prot.c
kern_sig.c kern_synch.c sys_generic.c uipc_syscalls.c vfs_lookup.c
syssrc/sys/sys: ktrace.h proc.h
Log Message:
Reduce use of curproc in several places:
- 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()
To generate a diff of this commit:
cvs rdiff -r1.53 -r1.54 syssrc/sys/arch/alpha/alpha/trap.c
cvs rdiff -r1.74 -r1.75 syssrc/sys/arch/amiga/amiga/trap.c
cvs rdiff -r1.4 -r1.5 syssrc/sys/arch/arm26/arm26/except.c
cvs rdiff -r1.26 -r1.27 syssrc/sys/arch/arm32/arm32/syscall.c
cvs rdiff -r1.50 -r1.51 syssrc/sys/arch/atari/atari/trap.c
cvs rdiff -r1.77 -r1.78 syssrc/sys/arch/hp300/hp300/trap.c
cvs rdiff -r1.137 -r1.138 syssrc/sys/arch/i386/i386/trap.c
cvs rdiff -r1.5 -r1.6 syssrc/sys/arch/luna68k/luna68k/trap.c
cvs rdiff -r1.80 -r1.81 syssrc/sys/arch/mac68k/mac68k/trap.c
cvs rdiff -r1.131 -r1.132 syssrc/sys/arch/mips/mips/trap.c
cvs rdiff -r1.38 -r1.39 syssrc/sys/arch/mvme68k/mvme68k/trap.c
cvs rdiff -r1.3 -r1.4 syssrc/sys/arch/news68k/news68k/trap.c
cvs rdiff -r1.21 -r1.22 syssrc/sys/arch/next68k/next68k/trap.c
cvs rdiff -r1.39 -r1.40 syssrc/sys/arch/pc532/pc532/trap.c
cvs rdiff -r1.25 -r1.26 syssrc/sys/arch/powerpc/powerpc/trap.c
cvs rdiff -r1.11 -r1.12 syssrc/sys/arch/sh3/sh3/trap.c
cvs rdiff -r1.90 -r1.91 syssrc/sys/arch/sparc/sparc/trap.c
cvs rdiff -r1.40 -r1.41 syssrc/sys/arch/sparc64/sparc64/trap.c
cvs rdiff -r1.89 -r1.90 syssrc/sys/arch/sun3/sun3/trap.c
cvs rdiff -r1.51 -r1.52 syssrc/sys/arch/vax/vax/trap.c
cvs rdiff -r1.39 -r1.40 syssrc/sys/arch/x68k/x68k/trap.c
cvs rdiff -r1.48 -r1.49 syssrc/sys/compat/hpux/hpux_compat.c
cvs rdiff -r1.18 -r1.19 syssrc/sys/compat/hpux/hpux_net.c
cvs rdiff -r1.25 -r1.26 syssrc/sys/compat/netbsd32/netbsd32_netbsd.c
cvs rdiff -r1.109 -r1.110 syssrc/sys/kern/kern_exec.c
cvs rdiff -r1.41 -r1.42 syssrc/sys/kern/kern_ktrace.c
cvs rdiff -r1.40 -r1.41 syssrc/sys/kern/kern_proc.c
cvs rdiff -r1.57 -r1.58 syssrc/sys/kern/kern_prot.c
cvs rdiff -r1.99 -r1.100 syssrc/sys/kern/kern_sig.c
cvs rdiff -r1.73 -r1.74 syssrc/sys/kern/kern_synch.c
cvs rdiff -r1.47 -r1.48 syssrc/sys/kern/sys_generic.c
cvs rdiff -r1.51 -r1.52 syssrc/sys/kern/uipc_syscalls.c
cvs rdiff -r1.33 -r1.34 syssrc/sys/kern/vfs_lookup.c
cvs rdiff -r1.18 -r1.19 syssrc/sys/sys/ktrace.h
cvs rdiff -r1.93 -r1.94 syssrc/sys/sys/proc.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index