[PATCH] D102961: [CSSPGO][llvm-profgen] Report samples for untrackable frames.
Hongtao Yu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 21 18:10:57 PDT 2021
hoy created this revision.
Herald added a subscriber: wenlei.
hoy requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Fixing an issue where samples collected for an untrackable frame is not reported. An untrackable frame refers to a frame whose caller is untrackable due to missing debug info or pseudo probe. Though the frame is connected to its parent frame through the frame pointer chain at runtime, the compiler cannot build the connection without debug info or pseudo probe. In such case we just need to report the untrackable frame as the base frame and all of its child frames.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D102961
Files:
llvm/test/tools/llvm-profgen/Inputs/truncated-pseudoprobe.ll
llvm/test/tools/llvm-profgen/Inputs/truncated-pseudoprobe.perfbin
llvm/test/tools/llvm-profgen/Inputs/truncated-pseudoprobe.perfscript
llvm/test/tools/llvm-profgen/truncated-pseudoprobe.test
llvm/tools/llvm-profgen/PerfReader.cpp
llvm/tools/llvm-profgen/PerfReader.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102961.347161.patch
Type: text/x-patch
Size: 17050 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210522/01dcfd53/attachment.bin>
More information about the llvm-commits
mailing list