public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* gmon.out
@ 2004-09-09 23:54 Gabriel Tanase
  0 siblings, 0 replies; only message in thread
From: Gabriel Tanase @ 2004-09-09 23:54 UTC (permalink / raw)
  To: gcc-help

Howdy,

I've been searching for a while with google to see if a similar topic
was discussed but I didn't find a good explanation. Here is my
problem. I would like when using the gprof( -pg option on the compile
line) to be able to dump the info generated into a file that has the
PID embedded somewhere in the name(something like gmon.out.2222 where
2222 is the process id for the program I am profiling). It is
particularly usefull when profiling MPI programs and you would like to
have individual traces for individual processes.

It is a fairly easy fix but I am wondering if there is a philosophical
issue that doesn't allow this to be included in the main branch of
gcc.

Most of the profile tools I know(valgrind, profile tools on IRIX)
attach the PID to the trace...

Thanks,
Gabi

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-09-09 23:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-09 23:54 gmon.out Gabriel Tanase

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).