Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    How to print Kernel stack - please help


    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

  2. #2

    Solution for printing Kernel stack


    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.

    Jitendra P.

  3. #3

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts