This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: i am getting same profile(for gcc) for all testcases



On 4-mrt-04, at 22:10, Jim Wilson wrote:
Gcc contains multiple programs. If you compiled all of them with profile info, then the profile output files may be overwriting each other. Use gcc -v to see what all the gcc driver does, and try running individual programs instead of running the gcc driver.

Or set the environment variable GMON_OUT_PREFIX, i.e.,


export GMON_OUT_PREFIX=gmon


Segher



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]