LLVM 22.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 105 of file Telemetry.h.
|
default |
Referenced by classof().
|
virtualdefault |
References serialize().
|
inlinestatic |
Definition at line 123 of file Telemetry.h.
References llvm::telemetry::EntryKind::Base, T, and TelemetryInfo().
|
inlinevirtual |
Definition at line 122 of file Telemetry.h.
References llvm::telemetry::EntryKind::Base.
|
virtual |
Definition at line 19 of file Telemetry.cpp.
References SessionId, and llvm::telemetry::Serializer::write().
Referenced by ~TelemetryInfo().
std::string llvm::telemetry::TelemetryInfo::SessionId |
Definition at line 114 of file Telemetry.h.
Referenced by serialize().