summaryrefslogtreecommitdiff
path: root/sys/kern/kern_ktrace.c
AgeCommit message (Collapse)Author
2004-12-26Use list and queue macros where applicable to make the code easier to read;Miod Vallat
no change in compiler assembly output.
2004-06-13debranch SMP, have funNiklas Hallqvist
2004-06-09Merge in a piece of the SMP branch into HEAD.Artur Grabowski
Introduce the cpu_info structure, p_cpu field in struct proc and global scheduling context and various changed code to deal with this. At the moment no architecture uses this stuff yet, but it will allow us slow and controlled migration to the new APIs. All new code is ifdef:ed out. ok deraadt@ niklas@
2003-09-01match syscallargs comments with realityHenning Brauer
from Patrick Latifi <patrick.l@hermes.usherb.ca> ok jason@ tedu@
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-06-27do not permit ktrace on P_SUGID; millert okTheo de Raadt
2002-06-06Fix *documentation*: one arg of the ktrace(2) is pid_t not int, found whileMike Pechkin
have fun w/ pid_t cleanups. millert@ ok
2002-03-14First round of __P removal in sysTodd C. Miller
2002-02-22include a siginfo_t with ktrace PSIG information, so that kdump can printTheo de Raadt
fault addresses and other information. (a small bug exists: in some signal delivery cases, two PSIG records may be inserted, because postsig() is unaware a PSIG record has already been placed. but this small bug can stay since the siginfo_t information helps us find and fix other bugs)
2001-11-06Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.Miod Vallat
(Look ma, I might have broken the tree)
2001-06-26Appease gcc by not using void pointers in arithmetic operations; art@ okAaron Campbell
2001-06-22KNFTheo de Raadt
2000-11-10Change the ktrace interface functions from taking the trace vnode to taking theArtur Grabowski
traced proc. The vnode is in the proc and all functions need the proc.
2000-09-27replace MALLOC/FREE w/ malloc/free for non-constant-sized memory ↵Michael Shalayeff
allocations; art@ ok
2000-04-29ktrace(2) should not follow symbolic links; from FreeBSDTodd C. Miller
2000-04-21do not declare and use a local variable which conflicts with a globalTheo de Raadt
variable which is used by a macro when VM is used instead of UVM. very cute, Art -- 10 points for artistic expression.
2000-04-20Add a function "ktrsettracevnode", that changes the ktrace vnode for a processArtur Grabowski
in a correct way. Use it in all places where the vnode was changed. (most of the earlier code was incorrect and had races).
2000-04-19Unbreak genio (how could I commit that garbage?).Artur Grabowski
Let ktrwrite return an error if the write failed so that we won't loop in genio writing to a full disk (or whatever other error happened).
2000-04-19When logging genio, check if we need to yield in the same way as in uiomove.Artur Grabowski
2000-04-19Don't abuse malloc to allocate small fixed-size structs that we can keep on ↵Artur Grabowski
the stack.
2000-04-18If the user does a huge I/O split the genio logging into smaller chunksArtur Grabowski
to avoid allocating a huge buffer which could lead to kmem starvation.
2000-04-06Random cleanup.Artur Grabowski
2000-03-03Use LIST_ macros instead of internal field names to walk the allproc list.Artur Grabowski
1999-02-11do not copyout uninitialized memory; arnej@math.ntnu.noTheo de Raadt
1998-06-02Integrated fix from NetBSD kern/5357.Constantine Sapuntzakis
1998-02-03bad types; wileyc@sekiya.twics.co.jpTheo de Raadt
1997-11-14Fixed up a VOP_UNLOCK call so that it uses the correction proc *Constantine Sapuntzakis
1997-11-11uninitialized variableNiklas Hallqvist
1997-11-06Updates for VFS Lite 2 + soft update.Constantine Sapuntzakis
1997-10-06back out vfs lite2 till after 2.2Theo de Raadt
1997-10-06VFS Lite2 ChangesConstantine Sapuntzakis
1996-03-03From NetBSD: 960217 mergeNiklas Hallqvist
1995-12-14from netbsd; emulation recordsTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt