This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to instrument a program using GCC


Thank you very much.

Haifeng

On Feb 19, 2008 5:29 AM, Diego Novillo <dnovillo@google.com> 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.
>
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]