Results 1 to 3 of 3
Hi
I try to understand how UART driver is working, I'd like to know if there is a way to printk the kernel stack in a given point of a ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-13-2008 #1Just Joined!
- Join Date
- Oct 2008
- Posts
- 7
How to print Kernel stack - please help
Hi
I try to understand how UART driver is working, I'd like to know if there is a way to printk the kernel stack in a given point of a code.
P.S I'll be happy to know if there is more elegant way to get the kernel stuck or to debug it
Best regards
- 11-14-2008 #2Just Joined!
- Join Date
- Nov 2008
- Posts
- 1
Solution for printing Kernel stack
Hi,
I would suggest to use dump_stack() and show_regs() kernel functions for dumping the stack also the values of registers.
Hope it may help you.
Thnx,
Jitendra P.
- 11-16-2008 #3Just Joined!
- Join Date
- Oct 2008
- Posts
- 7
Thanx


Reply With Quote
