struct XRayRecord
Declaration
struct XRayRecord { /* full declaration omitted */ };
Description
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.
Declared at: llvm/include/llvm/XRay/XRayRecord.h:69
Member Variables
- public uint16_t 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.
- public uint16_t CPU
- The CPU where the thread is running. We assume number of CPUs < = 65536.
- public llvm::xray::RecordTypes Type
- Identifies the type of record.
- public int32_t FuncId
- The function ID for the record, if this is a function call record.
- public uint64_t TSC
- Get the full 8 bytes of the TSC when we get the log record.
- public uint32_t TId
- The thread ID for the currently running thread.
- public uint32_t PId
- The process ID for the currently running process.
- public std::vector<uint64_t> CallArgs
- The function call arguments.
- public std::string Data
- For custom and typed events, we provide the raw data from the trace.