Basic block profiling info for gprof
Nick Clifton
nickc@redhat.com
Thu May 24 09:54:00 GMT 2007
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
More information about the Binutils
mailing list