Advertisement

Profiler

Started by January 26, 2005 08:49 PM
3 comments, last by Winograd 19 years, 7 months ago
I'm looking for a profiler for linux/gcc. Is there anything useful other than gprof?
Yes there is.. Excellent tool called OProfile .
And you should check for another extremely useful tool: Valgrind .

Look from SF and Freshmeat.net for some "pretty" GUIs for those too..
Advertisement
Thanks!

I know about Valgrind and use it regularly to check for memory leaks and profiling.
I will check out OProfile for sure...
I am looking for a gprof alternative too because gprof can not handle threads (or at least I was totaly unable to get threads profiled).
Looking through the oprofile page, I was unable if oprofile was any better.
So question: Can I profile threads with oprofile?
Thanks!!!
OProfile profiles _everything_ from your kernel to every process you're running (and every thread you're running). Only downside is that it requires kernel support (found from the vanilla kernel).

This topic is closed to new replies.

Advertisement