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]

Inserting profiling function calls


Dear All,

In order to implement a specific basic block profiling, i have to insert function calls at the end of each basic blocks or/and at the end of each functions.
To do this I'd like to add a profiling pass similar to the arc profiling.
I'm a beginner in the GCC internal implementation and i hope this subject will be interesting enough for you to give me attention.
I begin to localize were to insert/add this functionality but more detailed on "a magic how to" insert function calls in the generated code would be very helpful for me.
Is there somewhere a guide line to add profiling pass ?


Thank you for your help,
Patrice






___________________________________________________________________________ Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire.
http://fr.mail.yahoo.com



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