title: How to get call trace from all CPU's in a multi-core platform
body: <p>I have a requirement to dump CPU back-trace of all the CPU's. </p>
  
  <p>In linux we have <code>dump_stack</code> which can be used to dump the stack of current cpu.</p>
  
  <p>My requirement is to print the call stacks of the processes running on all the CPU'S(4 CPU's in my case). How can we do it? Is there a pre-built API for this?</p>