================
@@ -598,6 +612,12 @@ class PerfScriptReader : public PerfReaderBase {
 
   // Entry of the reader to parse multiple perf traces
   void parsePerfTraces() override;
+
+  // Parse a single line of a PERF_RECORD_MMAP event looking for a
+  // mapping between the binary name and its memory layout.
+  static bool extractMMapEventForBinary(ProfiledBinary *Binary, StringRef Line,
----------------
mingmingl-llvm wrote:

Sure. How does it sound if I do this in a separate change to minimize the code 
diff? Added a TODO in the comment if that's fine.

https://github.com/llvm/llvm-project/pull/148013
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to