Jan Kiszka wrote:
> Gilles Chanteperdrix wrote:
> > Jan Kiszka wrote:
> > > (...). Finally, I do not see a need for marking a static inline function
> > > non-traced. (...)
> >
> > Marking a function inline does not guarantee that the said function will
> > always be inlined, especially since with 2.6.16, inline no longer
> > necessary means __attribute__((always_inline)).
> >
>
> Yep, correct, though this particular function should only be non-inlined
> by a confused compiler. So, shouldn't we rather convert this function
> into a macro or mark it as always_inline? A review of the tracer for
> further clarifications is required, I guess.
In my humble opinion, the function should not be instrumented. This way,
the tracer will continue to work if the function happens to not been
inlined.
--
Gilles Chanteperdrix.
_______________________________________________
Adeos-main mailing list
[email protected]
https://mail.gna.org/listinfo/adeos-main