[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
================
@@ -171,9 +171,14 @@ class DebuggerStats {
/// The single target to emit statistics for if non NULL, otherwise dump
/// statistics only for the specified target.
///
+ /// \param summary_only
+ /// If true, only report high level summary statistics without
+ /// targets/modules/breakpoints etc.. details.
+ ///
/// \return
/// Returns a JSON value that contains all target metrics.
- static llvm::json::Value ReportStatistics(Debugger &debugger, Target *target);
+ static llvm::json::Value ReportStatistics(Debugger &debugger, Target *target,
+ 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