This is the mail archive of the gcc@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: profiling


Zack Weinberg <zack@codesourcery.com> writes:

> > Can I make a use of this to replace profil() functionality ? I
> > want to replace native calls mcount and monstartup with my code
> > which will using hardware timer. Can I get implement flat
> > profile/call graph profile
> 
> Suggest you write a little library which provides the
> mcount/monstartup/profil interface.  This will be *much* easier than
> hacking prologue generation.

.. and then you'll need to think about how you'll get the profiling
data out of the embedded hardware.

Ben


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