[PATCH] D116783: [memprof] Print out the summary in YAML format.
Teresa Johnson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 7 08:38:29 PST 2022
tejohnson added inline comments.
================
Comment at: llvm/lib/ProfileData/RawMemProfReader.cpp:101
void RawMemProfReader::printSummaries(raw_ostream &OS) const {
const char *Next = DataBuffer->getBufferStart();
----------------
Add a comment here and/or at the declaration that this is printing in YAML format.
================
Comment at: llvm/tools/llvm-profdata/llvm-profdata.cpp:2484
+
+ OS << "memprof_profile:\n";
Reader->printSummaries(OS);
----------------
Can this be moved into printSummaries?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116783/new/
https://reviews.llvm.org/D116783
More information about the llvm-commits
mailing list