[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


================
@@ -100,60 +101,91 @@ llvm::json::Value ConstStringStats::ToJSON() const {
   return obj;
 }
 
-json::Value TargetStats::ToJSON(Target &target) {
-  CollectStats(target);
+json::Value TargetStats::ToJSON(Target &target, bool summary_only) {
----------------
clayborg wrote:

Pass in "const lldb_private::StatisticsOptions &options" here insetead of bool

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


More information about the lldb-commits mailing list