This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Profiling output files
- To: Thomas Roeblitz <thomas dot roeblitz at infopark dot de>
- Subject: Re: Profiling output files
- From: jtc at redback dot com (J.T. Conklin)
- Date: 16 Feb 2001 11:11:05 -0800
- Cc: binutils mailing list <binutils at sourceware dot cygnus dot com>
- References: <Pine.GSO.4.21.0102160751520.23966-100000@rossini.infopark.de>
- Reply-To: jtc at redback dot com
>>>>> "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