gprof under UNIX V R.3 or R.4?

Guy Harris guy at auspex.auspex.com
Sat Jan 12 09:08:27 AEST 1991


>Is there a port of gprof (the BSD profiler) that runs under Unix V relese
>3 or 4?  Of course the compiler must support it too.

The only compiler support needed is to have some flag to the compiler
driver ("cc") cause it to link with the graph-profiled version of the C
startup code rather than the ordinary-profiled version; the actual code
generated (at least on any system I've used) is the same for "cc -p" and
"cc -pg".



More information about the Comp.unix.misc mailing list