[Lldb-commits] [lldb] [RFC][LLDB] Telemetry in LLDB (PR #87815)

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 5 12:05:39 PDT 2024


================
@@ -0,0 +1,237 @@
+#ifndef LLDB_CORE_TELEMETRY_H
+#define LLDB_CORE_TELEMETRY_H
+
+#include <chrono>
+#include <ctime>
+#include <memory>
+#include <optional>
+#include <string>
+
+#include "lldb/Interpreter/CommandReturnObject.h"
+#include "lldb/Utility/StructuredData.h"
+#include "lldb/lldb-forward.h"
+#include "llvm/ADT/StringExtras.h"
+#include "llvm/ADT/StringRef.h"
+
+namespace lldb_private {
+
+using SteadyTimePoint = std::chrono::time_point<std::chrono::steady_clock>;
+
+struct TelemetryEventStats {
+  // REQUIRED: Start time of event
----------------
adrian-prantl wrote:

Can you convert all the comments in header files to Doxygen comments?
`///`

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


More information about the lldb-commits mailing list