forked from OSchip/llvm-project
![]() Current profile generation caculcates callsite body samples and call target samples separately. The former is done based on LBR range samples while the latter is done based on branch samples. Note that there's a subtle difference. LBR ranges is formed from two consecutive branch samples. Therefore the last entry in a LBR record will not be counted towards body samples while there's still a chance for it to be counted towards call targets if it is a function call. I'm making sense of the call body samples by updating it to the aggregation of call targets. Reviewed By: wenlei Differential Revision: https://reviews.llvm.org/D122609 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
CSPreInliner.cpp | ||
CSPreInliner.h | ||
CallContext.h | ||
ErrorHandling.h | ||
PerfReader.cpp | ||
PerfReader.h | ||
ProfileGenerator.cpp | ||
ProfileGenerator.h | ||
ProfiledBinary.cpp | ||
ProfiledBinary.h | ||
llvm-profgen.cpp |