[llvm-branch-commits] [llvm] [llvm-profgen] Extend llvm-profgen to generate vtable profiles with data access events. (PR #148013)
Mingming Liu via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Jul 18 14:51:45 PDT 2025
================
@@ -370,6 +377,61 @@ PerfReaderBase::create(ProfiledBinary *Binary, PerfInputFile &PerfInput,
return PerfReader;
}
+void PerfReaderBase::parseDataAccessPerfTraces(
+ StringRef DataAccessPerfTraceFile, std::optional<int32_t> PIDFilter) {
+ std::regex logRegex(
----------------
mingmingl-llvm wrote:
done with llvm::Regex, which uses the POSIX extended regular expression format by default. The regex string literal is also simpler this way.
https://github.com/llvm/llvm-project/pull/148013
More information about the llvm-branch-commits
mailing list