tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: static functions are your friends (Was GPIO revisited)



hi,

> I took the time to write a function that crahses the kernel on  
> purpose.  Compiled as non static function, ddb showed me the function  
> name and function call trace with proper function names.  Quite easy  
> to locate the faulty spot.  To complete my test, I compiled the very  
> same code with all functions declared static.  Now the ddb trace does  
> not show me the function names, making it a lot harder to locate the  
> faulty spot.

you want __noinline?

YAMAMOTO Takashi


Home | Main Index | Thread Index | Old Index