The default the profile file is from the executable is run and the file is called gmon.out. Is there any way to specify a new location?
gmon.out
I\'m using gcc 3
To give a different file name to gprof:
gprof a.out gprof-foo.out
As to renaming them, set the GMON_OUT_PREFIX environment variable. I found this one by good ol' objdump on libc .... Naturally, the libc docs say nothing.