<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
You're looking for the ProfilerStart/ProfilerStop functions, the<br>
former takes a filename to write the profiler to (like "ls.prof" or<br>
"x-plus-x.prof"):<br>
  <a href="http://www.mail-archive.com/numpy-discussion@scipy.org/msg41451.html" target="_blank">http://www.mail-archive.com/numpy-discussion@scipy.org/msg41451.html</a></blockquote></div><div class="gmail_extra"><br></div>
I followed that and able to get a callgraph[1], but it doesnt contains all the edges.</div><div class="gmail_extra"><br></div><div class="gmail_extra">[1] <a href="https://docs.google.com/file/d/0B3Pqyp8kuQw0eVM4ajVYLWtfZVU/edit?usp=sharing">https://docs.google.com/file/d/0B3Pqyp8kuQw0eVM4ajVYLWtfZVU/edit?usp=sharing</a></div>
<div class="gmail_extra"><div dir="ltr"><div style="outline-style:none"><br></div><div style="outline-style:none">Arink Verma</div><div style="outline-style:none"><a href="http://www.arinkverma.in" target="_blank">www.arinkverma.in</a><br>
</div><div style="outline-style:none"></div></div>
</div></div>