micke wrote: > Hi, I'm in need of knowing exactly where in the code the sleep q(s) are > implemented? > > That is, when a thread do a system call and gets blocked, where do this > happen? What functions are call by the thread? > > I need to capture the time of this event ... > You might want to have a look at the DTrace sched provider, documented in the "Solaris Dynamic Tracing Guide".
http://docs.sun.com/app/docs/doc/817-6223 It exports probes that you can have fire when a thread goes to sleep, wakes up, etc. You also might find it helpful to search (via src.opensolaris.org) for the call sites for DTRACE_SCHED(sleep)...as these represent the code paths you are likely interested in... Thanks, -Eric _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
