<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1" bgcolor="#FFFFFF">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Yes, the latest version can be downloaded from here
<a href="https://github.com/liuml07/giri" target="_blank">https://github.com/liuml07/giri</a> . The LLVM instrumentation code is in
<span class="css-truncate css-truncate-target"><a href="https://github.com/liuml07/giri/blob/master/lib/Giri/TracingNoGiri.cpp" class="js-directory-link" id="886992da0f24e4192f9862aa18dfa4d5-d4fece71a4b8a428495d17220678ac9b854cf7f5" title="TracingNoGiri.cpp">TracingNoGiri.cpp</a>
 file and runtime code in Tracing.cpp. <br>
<br>
You may need to delete other unnecessary instrumentation code which you don't need.<br>
<br>
Thanks,<br>
Swarup.<br>
<br>
</span>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF467190"><font color="#000000" face="Tahoma" size="2"><b>From:</b> John Criswell [jtcriswel@gmail.com]<br>
<b>Sent:</b> Sunday, August 17, 2014 2:25 PM<br>
<b>To:</b> Eric Soderstrom; llvmdev<br>
<b>Cc:</b> Sahoo, Swarup Kumar<br>
<b>Subject:</b> Re: [LLVMdev] generating a dynamic callgraph with llvm-prof<br>
</font><br>
</div>
<div></div>
<div>
<div class="moz-cite-prefix">Dear Eric,<br>
<br>
Swarup and I wrote a dynamic slicing system called Giri several years ago that recorded the execution of every call instruction.  It's not in the LLVM tree, and I don't think it works with the latest version of LLVM, but it'll give you what you want.<br>
<br>
Swarup, is that code publicly available somewhere?<br>
<br>
Regards,<br>
<br>
John Criswell<br>
<br>
On 8/17/14, 12:40 PM, Eric Soderstrom wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>One can use "-insert-edge-profiling" with opt to collect general metrics (frequency of function execution, frequency of basic block execution). But I'd like to record all call information. So every time a function call is made, I'd like to record [calling
 function name, callee function name]<br>
<br>
</div>
Is this feasible with with llvm-prof and any of the existing profiling options?<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader" target="_blank"></fieldset> <br>
<pre>_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a>         <a class="moz-txt-link-freetext" href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a>
<a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a>
</pre>
</blockquote>
<br>
</div>
</div>
</div>
</body>
</html>