diff options
author | phk <phk@FreeBSD.org> | 1996-09-19 19:49:13 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1996-09-19 19:49:13 +0000 |
commit | bb49c895b91f1c1124b1782797be82879bb6136c (patch) | |
tree | dcfcaecc65579d35f813644addb558f6a9c2f1e1 /sys/kern/syscalls.master | |
parent | 45c85d421d05f7b96a102826ea41b4f7dc31c017 (diff) | |
download | FreeBSD-src-bb49c895b91f1c1124b1782797be82879bb6136c.zip FreeBSD-src-bb49c895b91f1c1124b1782797be82879bb6136c.tar.gz |
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.
Diffstat (limited to 'sys/kern/syscalls.master')
-rw-r--r-- | sys/kern/syscalls.master | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master index ad5ba53..c0c5f0f 100644 --- a/sys/kern/syscalls.master +++ b/sys/kern/syscalls.master @@ -1,4 +1,4 @@ - $Id: syscalls.master,v 1.27 1996/03/02 16:51:25 peter Exp $ + $Id: syscalls.master,v 1.28 1996/08/20 07:17:49 smpatel Exp $ ; from: @(#)syscalls.master 8.2 (Berkeley) 1/13/94 ; ; System call name/number master file. @@ -322,7 +322,7 @@ ; here allows to avoid one in libc/sys/Makefile.inc. 203 STD BSD { int mlock(caddr_t addr, size_t len); } 204 STD BSD { int munlock(caddr_t addr, size_t len); } -205 UNIMPL NOHIDE nosys +205 STD BSD { int utrace(caddr_t addr, size_t len); } 206 UNIMPL NOHIDE nosys 207 UNIMPL NOHIDE nosys 208 UNIMPL NOHIDE nosys |