[PATCH] D136698: [SampleFDO] Persist profile staleness metrics into binary
Wenlei He via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 25 15:02:14 PDT 2022
wenlei added inline comments.
================
Comment at: llvm/lib/MC/MCObjectFileInfo.cpp:534
Ctx->getELFSection(".pseudo_probe_desc", DebugSecType, 0);
+ ProfStatsSection = Ctx->getELFSection(".prof_stats", DebugSecType, 0);
}
----------------
prof_stats might still be a bit narrow. persistent key-value in obj can be a general mechanism used for other purpose as well. maybe `llvm-stats`?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136698/new/
https://reviews.llvm.org/D136698
More information about the llvm-commits
mailing list