开发者

What would be a good tracing library for a C multithreaded program?

开发者 https://www.devze.com 2023-03-29 01:07 出处:网络
I\'m wr开发者_JAVA技巧iting a multithreaded server using Ptrheads and I want to trace the execution of individual threads.

I'm wr开发者_JAVA技巧iting a multithreaded server using Ptrheads and I want to trace the execution of individual threads.

What would be a good tracing library for this?


cTrace is an good option.


NPTL sounds exactly like what you need. I have tried unsuccessfully to install it, though, and it seems dated a bit but the features are great. If you succeed in installing it, drop me a line through here! There is also PAPI, but it's tough to handle, and there's finally Valgrind (particularly Cachegrind) for certain subset of debugging needs. Hope this helps.

0

精彩评论

暂无评论...
验证码 换一张
取 消