LLVM: llvm::xray::XRayRecord Struct Reference (original) (raw)

An XRayRecord is the denormalized view of data associated in a trace. More...

#include "[llvm/XRay/XRayRecord.h](XRayRecord%5F8h%5Fsource.html)"

Public Attributes
uint16_t RecordType
RecordType values are used as "sub-types" which have meaning in the context of the Type below.
uint16_t CPU
The CPU where the thread is running. We assume number of CPUs <= 65536.
RecordTypes Type
Identifies the type of record.
int32_t FuncId
The function ID for the record, if this is a function call record.
uint64_t TSC
Get the full 8 bytes of the TSC when we get the log record.
uint32_t TId
The thread ID for the currently running thread.
uint32_t PId
The process ID for the currently running process.
std::vector< uint64_t > CallArgs
The function call arguments.
std::string Data
For custom and typed events, we provide the raw data from the trace.

An XRayRecord is the denormalized view of data associated in a trace.

These records may not correspond to actual entries in the raw traces, but they are the logical representation of records in a higher-level event log.

Definition at line 68 of file XRayRecord.h.

CallArgs

std::vector<uint64_t> llvm::xray::XRayRecord::CallArgs

The function call arguments.

Definition at line 94 of file XRayRecord.h.

CPU

The CPU where the thread is running. We assume number of CPUs <= 65536.

Definition at line 76 of file XRayRecord.h.

Data

std::string llvm::xray::XRayRecord::Data

For custom and typed events, we provide the raw data from the trace.

Definition at line 97 of file XRayRecord.h.

FuncId

int32_t llvm::xray::XRayRecord::FuncId

The function ID for the record, if this is a function call record.

Definition at line 82 of file XRayRecord.h.

PId

The process ID for the currently running process.

Definition at line 91 of file XRayRecord.h.

RecordType

uint16_t llvm::xray::XRayRecord::RecordType

RecordType values are used as "sub-types" which have meaning in the context of the Type below.

For function call and custom event records, the RecordType is always 0, while for typed events we store the type in the RecordType field.

Definition at line 73 of file XRayRecord.h.

TId

The thread ID for the currently running thread.

Definition at line 88 of file XRayRecord.h.

TSC

Get the full 8 bytes of the TSC when we get the log record.

Definition at line 85 of file XRayRecord.h.

Type

Identifies the type of record.

Definition at line 79 of file XRayRecord.h.


The documentation for this struct was generated from the following file: