Re: DTrace script asserts and kills the other process

2011-08-04 Thread ambrosehuang ambrose
2011/8/4 ambrosehuang ambrose ambrose...@gmail.com 2011/8/3 Andriy Gapon a...@freebsd.org on 28/07/2011 07:10 ambrosehuang ambrose said the following: Yuri y...@rawbw.com wrote: I am trying to run this dtrace script: #!/usr/sbin/dtrace -s pid123:libc::entry {

Re: DTrace script asserts and kills the other process

2011-08-03 Thread Andriy Gapon
on 28/07/2011 07:10 ambrosehuang ambrose said the following: Yuri y...@rawbw.com wrote: I am trying to run this dtrace script: #!/usr/sbin/dtrace -s pid123:libc::entry { self-timestmp[probefunc] = timestmp; } pid123:libc::return /self-timestmp[probefunc] != 0/ {

Re: DTrace script asserts and kills the other process

2011-08-03 Thread ambrosehuang ambrose
2011/8/3 Andriy Gapon a...@freebsd.org on 28/07/2011 07:10 ambrosehuang ambrose said the following: Yuri y...@rawbw.com wrote: I am trying to run this dtrace script: #!/usr/sbin/dtrace -s pid123:libc::entry { self-timestmp[probefunc] = timestmp; } pid123:libc::return

Re: DTrace script asserts and kills the other process

2011-07-27 Thread ambrosehuang ambrose
Yuri y...@rawbw.com wrote: I am trying to run this dtrace script: #!/usr/sbin/dtrace -s pid123:libc::entry { self-timestmp[probefunc] = timestmp; } pid123:libc::return /self-timestmp[probefunc] != 0/ { @function_duration[probefunc] = sum(timestmp -

Re: DTrace script asserts and kills the other process

2011-07-23 Thread Fabian Keil
Yuri y...@rawbw.com wrote: I am trying to run this dtrace script: #!/usr/sbin/dtrace -s pid123:libc::entry { self-timestmp[probefunc] = timestmp; } pid123:libc::return /self-timestmp[probefunc] != 0/ { @function_duration[probefunc] = sum(timestmp - self-timestmp[probefunc]);

DTrace script asserts and kills the other process

2011-07-22 Thread Yuri
I am trying to run this dtrace script: #!/usr/sbin/dtrace -s pid123:libc::entry { self-timestmp[probefunc] = timestmp; } pid123:libc::return /self-timestmp[probefunc] != 0/ { @function_duration[probefunc] = sum(timestmp - self-timestmp[probefunc]); timestmp[probefunc] = 0; } which I got from