<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<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
cite="mid:CAFU2yp8iUDjaRE7+WVZ1uKA8X0T16FX-MCTyn+YYJ7V8fWBL_Q@mail.gmail.com"
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"></fieldset>
<br>
<pre wrap="">_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a class="moz-txt-link-freetext" href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a>
<a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a>
</pre>
</blockquote>
<br>
</body>
</html>