[llvm] [BOLT] Fix heatmaps on large BOLTEd binaries. (PR #92815)

Maksim Panchenko via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 8 15:23:02 PDT 2024


================
@@ -464,6 +470,13 @@ void DataAggregator::filterBinaryMMapInfo() {
 
 int DataAggregator::prepareToParse(StringRef Name, PerfProcessInfo &Process,
                                    PerfProcessErrorCallbackTy Callback) {
+  if (!opts::ReadPerfEvents.empty()) {
+    dbgs() << "PERF2BOLT: using pre-processed perf events for '" << Name
----------------
maksfb wrote:

```suggestion
    outs() << "PERF2BOLT: using pre-processed perf events for '" << Name
```

https://github.com/llvm/llvm-project/pull/92815


More information about the llvm-commits mailing list