> 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 ?
There is no such guide, but adding a profiling pass is not that different from adding any toher pass. Would you for a start please explain what do you need to do that can't be done using existing arc and value profiling? Honza > > 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