Well, I've decided to try to learn dtrace to do some benchmarking, and
so I tried to use -c to measure what the command does... except it seems
to fail...

even the simple:
dtrace -n 'syscall:::entry { @num[execname] = count(); }' -c 'echo foo'

doesn't work...  it gives me:
# dtrace -n 'syscall:::entry { @num[execname] = count(); }' -c 'echo foo'
foo
dtrace: failed to control pid 3766: process exited with status 0

ktrace shows it execing /bin/echo and it running fine, but for some
reason dtrace can't handle it...

P.S. Why are dtrace and dtraceall seperate?

-- 
  John-Mark Gurney                              Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-dtrace
To unsubscribe, send any mail to "[email protected]"

Reply via email to