[Lldb-commits] [lldb] [LLDB] Add load core time to target metrics (PR #161581)

Jacob Lalonde via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 1 13:58:54 PDT 2025


================
@@ -148,6 +148,11 @@ TargetStats::ToJSON(Target &target,
     target_metrics_json.try_emplace("targetCreateTime",
                                     m_create_time.get().count());
 
+    if (m_load_core_time.get().count() > 0) {
----------------
Jlalond wrote:

I'd prefer to not clutter the output with added metrics. I know it's JSON and any automation reading it probably won't be bothered but for humans it might be weird to see 'loadCoreTime' in your live debugging stats.

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


More information about the lldb-commits mailing list