Re: [osol-discuss] How to compile libc or pthread ?

2010-11-30 Thread Mike Gerdts
On Mon, Nov 29, 2010 at 3:26 PM, Afantee Lee dongli...@gmail.com wrote: 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

Re: [osol-discuss] How to compile libc or pthread ?

2010-11-29 Thread Afantee Lee
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

[osol-discuss] How to compile libc or pthread ?

2010-11-25 Thread Afantee Lee
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

Re: [osol-discuss] How to compile libc or pthread ?

2010-11-25 Thread Ian Collins
On 11/25/10 09:55 PM, Afantee Lee wrote: 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

Re: [osol-discuss] How to compile libc or pthread ?

2010-11-25 Thread Afantee Lee
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

Re: [osol-discuss] How to compile libc or pthread ?

2010-11-25 Thread Chris Ridd
On 25 Nov 2010, at 18:43, Afantee Lee wrote: 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

Re: [osol-discuss] How to compile libc or pthread ?

2010-11-25 Thread Alan Hargreaves
Surely DTrace would be a far better profiling option. Regards, Alan Hargreaves On 11/26/10 05:43, Afantee Lee wrote: 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