How to instrument a program using GCC
Haifeng He
hehaifeng2nd@gmail.com
Tue Feb 19 04:12:00 GMT 2008
Thanks for replying. I searched online but could not find much information about
GCC tree-profiling. GCC Internal also does not explain much on that. Is there
any other document explains that subject? Or some kind of tutorial or small
example that demonstrates how to manipulate GIMPLE tree will be also very
helpful.
Thanks
Haifeng
On Feb 17, 2008 1:16 PM, Diego Novillo <dnovillo@google.com> wrote:
> On Fri, Feb 15, 2008 at 6:06 PM, Haifeng He <hehaifeng2nd@gmail.com> wrote:
>
> > I would like to instrument to program to do a value profiling of all
> > the variables in the program
>
> See the documentation on -fprofile-generate and -fprofile-use in the
> GCC documentation.
>
>
> Diego.
>
More information about the Gcc-help
mailing list