I am looking for a list of compilers able to generate a gprof output.
A:
Depending upon your platform, you might find that a dynamic run-time tool such as dtrace or oprofile can help.
These are not compilers, but can provide the same kind of data as gprof, and can be applied to existing programs without needing the source or having to recompile them.
oprofile has a mode to directly output gprof compatible data:
Alex Brown
2009-06-16 08:57:23
That is not my point. I already know these tools, I am asking myself how standard is gprof.
Jérôme
2009-06-16 08:59:16
+1
A:
gprof is supported beyond gcc. For instance, Sun Studio supports it, as does the berkeley compiler.
Alex Brown
2009-06-16 09:06:43