[llvm] [Bolt] Add a new hidden option to perf2bolt for testing purpose (PR #163785)
Amir Ayupov via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 4 23:57:06 PST 2025
================
@@ -440,6 +440,32 @@ class DataAggregator : public DataReader {
/// B 4b196f 4b19e0 2 0
void parsePreAggregated();
+ /// Detect whether the parsed line is an mmap event or not.
+ bool isMMapEvent(StringRef Line);
+
+ /// Coordinate reading and parsing a hybrid perf-script trace created by
+ /// the following Linux perf script command:
+ /// 'perf script --show-mmap-events -F pid,brstack --itrace=bl -i perf.data'
----------------
aaupov wrote:
The parsing is agnostic of itrace option, let's drop that here. We can mention it in the diff description.
https://github.com/llvm/llvm-project/pull/163785
More information about the llvm-commits
mailing list