summaryrefslogtreecommitdiffstats
path: root/usr.bin/ktrace
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1996-09-19 19:49:13 +0000
committerphk <phk@FreeBSD.org>1996-09-19 19:49:13 +0000
commitbb49c895b91f1c1124b1782797be82879bb6136c (patch)
treedcfcaecc65579d35f813644addb558f6a9c2f1e1 /usr.bin/ktrace
parent45c85d421d05f7b96a102826ea41b4f7dc31c017 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud