Can anyone suggest me a tool that estimates the minimum stack size
needed for C code to run correctly?
My project code creates kernel threads that serve in the MAC layer of a
wireless comm. protocol. I need to estimate the stack size so that no
stack overflow occurs when code runs inside the kernel.

Thanks for replies