Question

I'd like to profile a program that forks and spawns several child processes. I want to see how much time is spent in some of the functions. What profiler can handle this job?

Was it helpful?

Solution

Oprofile works well for this.

OTHER TIPS

I think you can do it with SystemTap - DTrace ideas implementation on Linux

Try Zoom from RotateRight. It does system-wide profiling by default. If you have a later (2.6.32+) kernel, you can also get a timeline view of the scheduler behavior and system calls.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top