[llvm] [BOLT] DataAggregator support for binaries with multiple text segments (PR #92815)

Maksim Panchenko via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 19 16:42:42 PST 2024


================
@@ -95,6 +95,12 @@ cl::opt<bool> ReadPreAggregated(
     "pa", cl::desc("skip perf and read data from a pre-aggregated file format"),
     cl::cat(AggregatorCategory));
 
+cl::opt<std::string>
+    ReadPerfEvents("perf-script-events",
+                   cl::desc("skip perf event collection by supplying a "
+                            "perf-script output in a textual format"),
+                   cl::cat(AggregatorCategory));
----------------
maksfb wrote:

If we don't expect the end user to see this option, let's make it `cl::Hidden` or `cl::ReallyHidden`. Alternatively, we can modify `DataAggregator` interface for testing since you don't invoke the option via CL.

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


More information about the llvm-commits mailing list