Re: Inserting profiling function calls

2007-02-10 Thread Michael Gong
- Original Message - From: "Frank Ch. Eigler" <[EMAIL PROTECTED]> To: "Michael Gong" <[EMAIL PROTECTED]> Cc: "GERIN Patrice" <[EMAIL PROTECTED]>; "Jan Hubicka" <[EMAIL PROTECTED]>; Sent: Saturday, February 1

Re: Inserting profiling function calls

2007-02-10 Thread Frank Ch. Eigler
"Michael Gong" <[EMAIL PROTECTED]> writes: > I don't know about inserting call at the basic block level, but I am > quite sure inserting calls at the function level could be done by > aspect-oriented-programming (AOP). [...] Another possibility, coming soon[1], is to use systemtap[2] probes: %

Re: Inserting profiling function calls

2007-02-09 Thread Jan Hubicka
> > >Would you for a start please > >explain what do you need to do that can't be done using existing arc and > >value profiling? > > > Sorry, my first mail was not clear about the goal. > Objectives are to follow the execution of function and basic block at > execution time. > To do this, we p

Re: Inserting profiling function calls

2007-02-09 Thread Michael Gong
Cc: Sent: Thursday, February 08, 2007 5:56 PM Subject: Re: Inserting profiling function calls Would you for a start please explain what do you need to do that can't be done using existing arc and value profiling? Sorry, my first mail was not clear about the goal. Objectives are to

Re: Inserting profiling function calls

2007-02-08 Thread GERIN Patrice
Would you for a start please explain what do you need to do that can't be done using existing arc and value profiling? Sorry, my first mail was not clear about the goal. Objectives are to follow the execution of function and basic block at execution time. To do this, we plan to insert func

Re: Inserting profiling function calls

2007-02-08 Thread Jan Hubicka
> 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 imp

Inserting profiling function calls

2007-02-08 Thread GERIN Patrice
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