Date: Thu, 19 Sep 1996 12:49:19 -0700 (PDT) From: Poul-Henning Kamp <phk> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern init_sysent.c kern_ktrace.c syscalls.c syscalls.master src/sys/sys ktrace.h syscall-hide.h syscall.h sysproto.h Message-ID: <199609191949.MAA14405@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 96/09/19 12:49:18 Modified: sys/kern init_sysent.c kern_ktrace.c syscalls.c syscalls.master sys/sys ktrace.h syscall-hide.h syscall.h sysproto.h Log: Add the utrace(caddr_t addr,size_t len) syscall, that will store the data pointed at in a ktrace file, if this process is being ktrace'ed. I'm using this to profile malloc usage. The advantage is that there is no context around this call, ie, no open file or socket, so it will work in any process, and you can decide if you want it to collect data or not. Revision Changes Path 1.36 +1 -1 src/sys/kern/init_sysent.c 1.13 +40 -1 src/sys/kern/kern_ktrace.c 1.31 +1 -1 src/sys/kern/syscalls.c 1.29 +2 -2 src/sys/kern/syscalls.master 1.9 +14 -1 src/sys/sys/ktrace.h 1.25 +1 -0 src/sys/sys/syscall-hide.h 1.29 +1 -0 src/sys/sys/syscall.h 1.15 +5 -0 src/sys/sys/sysproto.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609191949.MAA14405>