[Lldb-commits] [PATCH] D111686: Modify "statistics dump" to dump JSON.

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 14 15:18:28 PDT 2021


clayborg added a comment.

Right now if you run:
(lldb) statistics dump
It will dump stats for the current target only as one target dictionary. We can change this if desired.
(lldb) statistics dump --all-targets
will dump an dictionary that contains a top level "targets" key/value pair where the value is an array of the all target dictionaries statistics. Of course new key/value pairs can be added to this top level that total up stats from and of the TargetStats statistics.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D111686/new/

https://reviews.llvm.org/D111686



More information about the lldb-commits mailing list