title: how to get stack trace at various points in kernel device driver code
body: <p>I have a device driver code in Linux. Its execution includes lot of functions and different flows of functions.</p>
  
  <p>For debugging, i wanted to know stack at some points in code.</p>
  
  <p>E.g. 
  lets say, 
  A calls B, B calls C, then in function C, at some line where i want to know stack, should print something like</p>
  
  <p>A-->B-->C</p>
  
  <p>Is it possible doing this?
  Let me know your answers.</p>