[Lldb-commits] [lldb] Support statistics dump summary only mode (PR #80745)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 5 15:52:54 PST 2024


================
@@ -1599,7 +1599,7 @@ class Target : public std::enable_shared_from_this<Target>,
   ///
   /// \return
   ///     Returns a JSON value that contains all target metrics.
-  llvm::json::Value ReportStatistics();
+  llvm::json::Value ReportStatistics(bool summary_only = false);
----------------
clayborg wrote:

pass in `const lldb_private::StatisticsOptions &options` instead of bool

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


More information about the lldb-commits mailing list