This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: Basic block profiling info for gprof


"Mohamed Shafi" <shafitvm@gmail.com> writes:

> So can i assume that if the information from gmon.out is available to
> gprof, it can actually dump this information but the native compiler
> is not producing any information for basic block profiling in
> gmon.out?

Yes.

> So i will have to infer that gcc is no longer producing any basic
> block profiling information that can be used by gprof and basic block
> profiling is now done using gcov for which gcc is producing the
> required information. Is that right?

Yes.

Support for the -a profiler was removed here:

http://gcc.gnu.org/ml/gcc-patches/2001-12/msg00147.html

I believe the intent was that gcov would replace gprof when profiling
at the basic block level.  The gprof documentation should be updated
accordingly.

Ian


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