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

Ádám Kallai via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 19 07:37:06 PST 2026


================
@@ -444,6 +464,35 @@ class DataAggregator : public DataReader {
   /// an external tool.
   std::error_code parsePreAggregatedLBRSamples();
 
+  /// Dump pre-parsed perf profile data into a single file.
+  /// The generator relies on the aggregator work to spawn the required
+  /// perf-script jobs based on the the aggregation type, and merges
+  /// the results of the pref-script jobs into a single file.
+  /// This hybrid profile contains all required events such as BuildID,
+  /// MMAP, TASK, Branch/BrStack, or Memory for the aggregation.
----------------
kaadam wrote:

Thank you for your comment. Indeed a short explanation would be good. I've updated the comment. Could you look at it again?

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


More information about the llvm-commits mailing list