title: android ndk how can stacktrace can be printed in the function?
body: <p>I am new to android/ ndk.  is it possible to get the stack trace when one particular function is invoked. something like:</p>
  
  <pre><code>  int myfunction ()
    {
       //print stacktrace here. 
    }
  </code></pre>
  
  <p>Kindly help me out. </p>