Restore r211786 by rpaulo:
Port dtruss to FreeBSD. Sponsored by: The FreeBSD Foundation It appears the change was reverted by r235380.
This commit is contained in:
parent
1bc8531c1e
commit
24d2e21d9b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=238125
@ -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/
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user