LLVM 20.0.0git
|
#include "llvm/XRay/FDRRecords.h"
Public Types | |
enum class | MetadataType : unsigned { Unknown , BufferExtents , WallClockTime , NewCPUId , TSCWrap , CustomEvent , CallArg , PIDEntry , NewBuffer , EndOfBuffer , TypedEvent } |
Public Types inherited from llvm::xray::Record | |
enum class | RecordKind { RK_Metadata , RK_Metadata_BufferExtents , RK_Metadata_WallClockTime , RK_Metadata_NewCPUId , RK_Metadata_TSCWrap , RK_Metadata_CustomEvent , RK_Metadata_CustomEventV5 , RK_Metadata_CallArg , RK_Metadata_PIDEntry , RK_Metadata_NewBuffer , RK_Metadata_EndOfBuffer , RK_Metadata_TypedEvent , RK_Metadata_LastMetadata , RK_Function } |
Public Member Functions | |
MetadataRecord (RecordKind T, MetadataType M) | |
MetadataType | metadataType () const |
virtual | ~MetadataRecord ()=default |
Public Member Functions inherited from llvm::xray::Record | |
Record (const Record &)=delete | |
Record (Record &&)=delete | |
Record & | operator= (const Record &)=delete |
Record & | operator= (Record &&)=delete |
Record (RecordKind T) | |
RecordKind | getRecordType () const |
virtual Error | apply (RecordVisitor &V)=0 |
virtual | ~Record ()=default |
Static Public Member Functions | |
static bool | classof (const Record *R) |
Static Public Member Functions inherited from llvm::xray::Record | |
static StringRef | kindToString (RecordKind K) |
Static Protected Attributes | |
static constexpr int | kMetadataBodySize = 15 |
Friends | |
class | RecordInitializer |
Definition at line 71 of file FDRRecords.h.
|
strong |
Enumerator | |
---|---|
Unknown | |
BufferExtents | |
WallClockTime | |
NewCPUId | |
TSCWrap | |
CustomEvent | |
CallArg | |
PIDEntry | |
NewBuffer | |
EndOfBuffer | |
TypedEvent |
Definition at line 73 of file FDRRecords.h.
|
inlineexplicit |
Definition at line 95 of file FDRRecords.h.
|
virtualdefault |
Definition at line 97 of file FDRRecords.h.
References llvm::xray::Record::RK_Metadata, and llvm::xray::Record::RK_Metadata_LastMetadata.
|
inline |
Definition at line 102 of file FDRRecords.h.
|
friend |
Definition at line 89 of file FDRRecords.h.
|
staticconstexprprotected |
Definition at line 88 of file FDRRecords.h.
Referenced by llvm::xray::RecordInitializer::visit().