Thanks for the suggestion. it seems Dtrace can profile the enter point and exit point of the program. It is a nice tool, but, I probably need more insides into the pthread function it self. for example, I need to profile how many times the pthread_lock try to get the access to the critical section. it is part of the pthread detail implementation code.
please let me know if you know any other tool might be helpful. Thank you a lot :) -- This message posted from opensolaris.org _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org