[LLVMdev] generating a dynamic callgraph with llvm-prof
John Criswell
jtcriswel at gmail.com
Sun Aug 17 12:25:28 PDT 2014
Dear Eric,
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.
Swarup, is that code publicly available somewhere?
Regards,
John Criswell
On 8/17/14, 12:40 PM, Eric Soderstrom wrote:
> 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]
>
> Is this feasible with with llvm-prof and any of the existing profiling
> options?
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140817/3863fc8e/attachment.html>
More information about the llvm-dev
mailing list