Re: utrace(2)

2011-07-18 Thread Otto Moerbeek
On Tue, Jul 12, 2011 at 05:52:09PM +0200, Otto Moerbeek wrote: Hi, The diff below implements utrace(2), a syscall to introduce data into a ktrace stream from a userland program. The interface is taken from netbsd, freebsd also has a utrace(2) syscall, but lacks the label argument.

Re: utrace(2)

2011-07-12 Thread Ted Unangst
On Tue, Jul 12, 2011, Otto Moerbeek wrote: The diff below implements utrace(2), a syscall to introduce data into a ktrace stream from a userland program. Index: sys/kern/kern_ktrace.c === RCS file:

Re: utrace(2)

2011-07-12 Thread Philip Guenther
On Tue, Jul 12, 2011 at 8:52 AM, Otto Moerbeek o...@drijf.net wrote: ... diff -u -p -r1.117 syscalls.master --- sys/kern/syscalls.master9 Jul 2011 05:46:26 - 1.117 +++ sys/kern/syscalls.master12 Jul 2011 14:59:03 - @@ -572,3 +572,9 @@ int