SuperScript::Software

Introduction


How to install gprof-exit


What is gprof-exit?

The gprof-exit package supplies an object file that redefines _exit to print profiling information for the gprof program. This allows use of gprof to profile programs that call _exit directly rather than calling exit.

How to use gprof-exit

To use gprof-exit with a typical /package project, alter the the conf-cc and conf-ld files in the package you wish to profile to include any desired gprof options. In conf-ld also include /package/host/superscript.com/prog/gprof-exit/compile/gprof_exit.o as an object-file argument.