[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
================
@@ -4962,4 +4962,6 @@ std::recursive_mutex &Target::GetAPIMutex() {
}
/// Get metrics associated with this target in JSON format.
-llvm::json::Value Target::ReportStatistics() { return m_stats.ToJSON(*this); }
+llvm::json::Value Target::ReportStatistics(bool summary_only) {
----------------
clayborg wrote:
pass in "const lldb_private::StatisticsOptions &options" here instead of bool
https://github.com/llvm/llvm-project/pull/80745
More information about the lldb-commits
mailing list