[LLVMdev] generating a dynamic callgraph with llvm-prof

Eric Soderstrom e_k_s at mit.edu
Sun Aug 17 09:40:23 PDT 2014


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140817/0651e0f9/attachment.html>


More information about the llvm-dev mailing list