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 /usr.bin/ktrace | |
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 'usr.bin/ktrace')
0 files changed, 0 insertions, 0 deletions