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]

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


Hi,
  i have compiled gcc3.2.3 with profiling enabled. i am using the
  regression test suite to generate profiles for gcc (not for the test
  case it self ie. i want to see whats heppening in gcc).i compiled gcc
  like...
../gcc/configure --prefix=/src/inst --enable-languages=c,c++ \
     --disable-checking
   $ make -j8 all CFLAGS="-g -profile -O2"
   $ make install


this is what i am using to generate profile file.
  gcc test.c
  gprof -a /root/install/bin/gcc gmon.out > output

I also tried this one
gprof -a /root/install/lib/gcc/TARGET/VERSION/cc1 gmon.out > output

 but i am getting the same profiles for any program i compile.i have been
 struggling to get this done for a long time.can somebody please help
 me.thanx in advance.
regards
nath.



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