Question

I want to find profiler like vtune or oprofile on FreeBSD. Do you know any similar?

Was it helpful?

Solution

The equivalent of oprofile on FreeBSD is hwpmc. It can do both system and process profiling; as of FreeBSD 7.2 it has callchain capture. There's lots of information about it at http://wiki.freebsd.org/PmcTools and the pmcstat man page contains instructions for profiling applications too.

OTHER TIPS

Well, if you're trying to find a performance problem, it doesn't use a profiler, but this works.

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