>> | I don't think per-file profiling is that useful >> >> Nor do I in general. However, doing routine call counting on mcount >> (or anything it calls) would simply be absurd. If you want to >> know how mant times mcount has been called, you simply sum all the other >> counters. (pc sampling, however it is done, detecting mcount is fine). > >The existing attribute already does that.
Hmmm, got it. I'll revert my commit, and fix it to add "__always_inline" to functions called from mcount(). Thanks, -- ryo shimizu