Re: How to instrument a program using GCC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux