Thank you very much. Haifeng On Feb 19, 2008 5:29 AM, Diego Novillo <dnovillo@xxxxxxxxxx> wrote: > On 2/18/08 11:12 PM, Haifeng He wrote: > > 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. > > If you just want GCC to instrument your program, then reading on how to > use the -fprofile-* switches should be enough. Both are in the user > manual that comes with GCC. > > If you want to know *how* these options work, that's different. A good > starting point is the GCC wiki. In particular, > http://gcc.gnu.org/wiki/GettingStarted > > > Diego. > >