diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2010-08-24 23:24:43 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2010-08-24 23:24:43 +0000 |
commit | d1b92febc4113a9dd1c4663bed88b70aef7819f9 (patch) | |
tree | 969e76454378018dbf3a1203e9cabec55e231c82 /cddl | |
parent | 53fd0232a8bdc4e7166ffd79d3f70280ae93dcc4 (diff) | |
download | FreeBSD-src-d1b92febc4113a9dd1c4663bed88b70aef7819f9.zip FreeBSD-src-d1b92febc4113a9dd1c4663bed88b70aef7819f9.tar.gz |
Port dtruss to FreeBSD.
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'cddl')
-rwxr-xr-x | cddl/contrib/dtracetoolkit/dtruss | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/cddl/contrib/dtracetoolkit/dtruss b/cddl/contrib/dtracetoolkit/dtruss index f4b5e45a..93b12d3 100755 --- a/cddl/contrib/dtracetoolkit/dtruss +++ b/cddl/contrib/dtracetoolkit/dtruss @@ -1,4 +1,4 @@ -#!/usr/bin/sh +#!/bin/sh # # dtruss - print process system call time details. # Written using DTrace (Solaris 10 3/05). @@ -240,7 +240,7 @@ syscall:::entry */ /* print 3 args, return as hex */ -syscall::lwp_sigmask:return +syscall::sigprocmask:return /self->start/ { /* calculate elapsed time */ @@ -268,10 +268,11 @@ syscall::lwp_sigmask:return } /* print 3 args, arg0 as a string */ +syscall::access*:return, syscall::stat*:return, syscall::lstat*:return, -syscall::open*:return, -syscall::resolvepath:return +syscall::readlink*:return, +syscall::open*:return /self->start/ { /* calculate elapsed time */ @@ -329,7 +330,6 @@ syscall::*read*:return } /* print 0 arg output */ -syscall::gtime:return, syscall::*fork*:return /self->start/ { @@ -357,9 +357,6 @@ syscall::*fork*:return } /* print 1 arg output */ -syscall::brk:return, -syscall::times:return, -syscall::stime:return, syscall::close:return /self->start/ { @@ -387,7 +384,7 @@ syscall::close:return } /* print 2 arg output */ -syscall::utime:return, +syscall::utimes:return, syscall::munmap:return /self->start/ { |