LLVM 20.0.0git
|
TelemetryInfo is the data courier, used to move instrumented data from the tool being monitored to the Telemetry framework. More...
#include "llvm/Telemetry/Telemetry.h"
Public Member Functions | |
TelemetryInfo ()=default | |
virtual | ~TelemetryInfo ()=default |
virtual void | serialize (Serializer &serializer) const |
virtual KindType | getKind () const |
Static Public Member Functions | |
static bool | classof (const TelemetryInfo *T) |
Public Attributes | |
std::string | SessionId |
TelemetryInfo is the data courier, used to move instrumented data from the tool being monitored to the Telemetry framework.
This base class contains only the basic set of telemetry data. Downstream implementations can define more subclasses with additional fields to describe different events and concepts.
For example, The LLDB debugger can define a DebugCommandInfo subclass which has additional fields about the debug-command being instrumented, such as CommandArguments
or CommandName
.
Definition at line 97 of file Telemetry.h.
|
default |
|
virtualdefault |
|
inlinestatic |
Definition at line 115 of file Telemetry.h.
References llvm::telemetry::EntryKind::Base.
|
inlinevirtual |
Definition at line 114 of file Telemetry.h.
References llvm::telemetry::EntryKind::Base.
|
virtual |
Definition at line 6 of file Telemetry.cpp.
References SessionId, and llvm::telemetry::Serializer::write().
std::string llvm::telemetry::TelemetryInfo::SessionId |
Definition at line 106 of file Telemetry.h.
Referenced by serialize().