It has been found during testing that if a process goes to sleep before LatencyTOP runs, LatencyTOP is unable to track that latency. The reason being that using DTrace, we probably can't record this type of latency. Having such a capability in LatencyTOP might be useful in cases where an application process (its LWP rather) is already sleeping and we want to track its latency, without restarting the application.
I propose that we investigate the possibility of implementing such a feature in LatencyTOP. Hence I would like to know what others think about it. As for implementing, we can open the LWP directories under /proc and check the 'pr_flags' member of the lwpstatus_t structure; if an LWP is sleeping, the 'pr_flags' member will have its PR_ASLEEP bits set. I don't know if there is any other easier and quicker way of achieving this objective. -- This message posted from opensolaris.org _______________________________________________ perf-discuss mailing list perf-discuss@opensolaris.org