LLVM 22.0.0git
|
An XRayRecord is the denormalized view of data associated in a trace. More...
#include "llvm/XRay/XRayRecord.h"
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.
std::vector<uint64_t> llvm::xray::XRayRecord::CallArgs |
The function call arguments.
Definition at line 94 of file XRayRecord.h.
uint16_t llvm::xray::XRayRecord::CPU |
The CPU where the thread is running. We assume number of CPUs <= 65536.
Definition at line 76 of file XRayRecord.h.
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.
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.
uint32_t llvm::xray::XRayRecord::PId |
The process ID for the currently running process.
Definition at line 91 of file XRayRecord.h.
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.
uint32_t llvm::xray::XRayRecord::TId |
The thread ID for the currently running thread.
Definition at line 88 of file XRayRecord.h.
uint64_t llvm::xray::XRayRecord::TSC |
Get the full 8 bytes of the TSC when we get the log record.
Definition at line 85 of file XRayRecord.h.
RecordTypes llvm::xray::XRayRecord::Type |
Identifies the type of record.
Definition at line 79 of file XRayRecord.h.