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
Hi,
I am trying to replace the pthread library under Solaris with my own.
My plan is to modify the code from OpenSolaris (adding lots of profiling code),
and compile it as a dynamic lib. then, replace the one under Solaris with my
own.
the question is: will this replacement work ? (if I did
Hi, All
With the help for my previous question, I checked out the source code tree. of
libc/port/thread
but, it seems that there is no way to compile pthread or libc only. there is
makefile under libc, but, make all does not work.
Would some one please give me some suggestion, how to compile
Hi, Ian
The reason I want to compile pthread model under libc is:
I am doing a project, which requires profiling the timing information of
the pthread events.
thus, My plan is, compile current pthread lib first, then, add profiling code,
and recompile it.
your suggestions will be greatly