Re: optimizing out inline functions

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-kernel@...>
Date: Wednesday, May 28, 2008 - 4:37 pm

Sam Ravnborg wrote:
<<--SNIP-->>

Another way would be to have:

static inline void some_debug_function(var1)
{
    #ifdef KCONFIG_DEBUG_SOMETHING
       something = var1;
       printk(some debug text);
    #endif
}

BUT, this probably violates some styling rules.

James
}
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: optimizing out inline functions, James Kosin, (Wed May 28, 4:37 pm)
Re: optimizing out inline functions, Johannes Weiner, (Wed May 28, 11:27 pm)
Re: optimizing out inline functions, James Kosin, (Thu May 29, 9:11 am)
Re: optimizing out inline functions, James Kosin, (Thu May 29, 9:13 am)
Re: optimizing out inline functions, Joe Perches, (Wed May 28, 11:04 pm)