This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Basic block profiling info for gprof
Hi Mohamed,
But compiling a code similar to the one given as a example in
gprof.info and using gporf i am not getting any basic block profiling
info.This is what i did
a) $ gcc -g -pg 1.c
After executing
b) gprof -i
c) gprof -l -A -x > output.gmon
This is not providing any basic block profiling information.
What information does it produce ?
Which version of gcc are you using ?
Which version of gprof are you using ?
Is this a cross compiler or a native compiler ?
For which target was the compiler configured ?
Does gprof produce any basic block profiling information?
It should do. There may be a bug somewhere or possibly you need to
modify the procedure you followed. If you can provide a full test case
we may be able to investigate further.
Cheers
Nick