Re: [ANNOUNCE] pahole and other DWARF2 utilities

Arnaldo Carvalho de Melo
2006-10-31T17:29:41Z

On Tue, Oct 31, 2006 at 02:05:06PM -0200, Thiago Galesi wrote:
> >> Further ideas on how to use the DWARF2 information include tools
> >> that will show where inlines are being used, how much code is added by
> >> inline functions,
> >
> >It would be quite useful to be able to identify inlined functions which are
> >good candidates for uninlining.
> >
> >-
>
> Arnaldo, can't we get a call count for functions? (yes, it is not a
> run-time call count, but rather, how many times the function if called
> in the code) I guess this would help for this purpose of finding
> candidates for inlining, uninlining.

At least for inline expansions, yes, for normal function calls I have to
study more the DWARF2 documentation, but I guess its feasible.

- Arnaldo