Profiling output files

J.T. Conklin jtc@redback.com
Fri Feb 16 11:11:00 GMT 2001


>>>>> "Thomas" == Thomas Roeblitz <thomas.roeblitz@infopark.de> writes:
Thomas> does anyone know if one can redirect profiling data to another
Thomas> file (not to gmon.out, but to gmon1.out for example)? Is it
Thomas> possible to do this redirection within a program (for example
Thomas> while initialization)?

It depends on your host.  For example, on NetBSD, you can set PROFDIR,
and it it dumps output to ${PROFDIR}/$PID.$PROGRAMNAME.

        --jtc

-- 
J.T. Conklin
RedBack Networks



More information about the Binutils mailing list