[llvm] [BOLT][Perf2bolt] Add support to generate pre-parsed perf data (PR #171144)

Paschalis Mpeis via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 11 06:13:36 PST 2026


================
@@ -303,8 +323,7 @@ void DataAggregator::processFileBuildID(StringRef FileBuildID) {
     errs() << "PERF-ERROR: return code " << ReturnCode << "\n" << ErrBuf;
   };
 
-  PerfProcessInfo BuildIDProcessInfo;
-  launchPerfProcess("buildid list", BuildIDProcessInfo, "buildid-list");
+  // Extract buildid information from the input profile in the start() function.
----------------
paschalis-mpeis wrote:

nit: can drop this comment and mention it on the commit message, or keep it a bit shorter, like:

```suggestion
  //  buildid gets extracted earlier, in start() function.
```

(not strong opinion)

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


More information about the llvm-commits mailing list