[dtrace-discuss] Multiple returns from a syscall

Adam Leventhal ahl at eng.sun.com
Tue Jun 5 12:42:58 PDT 2007


On Tue, Jun 05, 2007 at 09:27:38PM +0200, Jesus Cea wrote:
> Oh, I see. That could explain it. How can I sort the data by timestamp?.
> Must I "printf" the timestamp and postprocess the data manually?

Unfortunately, yes. We've talked about implementing an option that would
sort by timestamp by default, but it would involve more behind the scenes
magic than we usually like to provide with DTrace.

> Now, I must investigate why some "fdsync" are so painfully slow. Some
> take >5 seconds...

You might play with the quantize() aggregating action to see the
distribution of fdsync() latency. Your results will almost certainly
depend on the underlying filesystem.

Adam

-- 
Adam Leventhal, Solaris Kernel Development       http://blogs.sun.com/ahl


More information about the dtrace-discuss mailing list