14#ifndef LLVM_XRAY_XRAYRECORD_H
15#define LLVM_XRAY_XRAYRECORD_H
The instances of the Type class are immutable: once they are created, they are never changed.
RecordTypes
Determines the supported types of records that could be seen in XRay traces.
This is an optimization pass for GlobalISel generic memory operations.
An XRayRecord is the denormalized view of data associated in a trace.
uint32_t PId
The process ID for the currently running process.
int32_t FuncId
The function ID for the record, if this is a function call record.
RecordTypes Type
Identifies the type of record.
uint32_t TId
The thread ID for the currently running thread.
uint16_t CPU
The CPU where the thread is running. We assume number of CPUs <= 65536.
uint64_t TSC
Get the full 8 bytes of the TSC when we get the log record.
std::string Data
For custom and typed events, we provide the raw data from the trace.
uint16_t RecordType
RecordType values are used as "sub-types" which have meaning in the context of the Type below.
std::vector< uint64_t > CallArgs
The function call arguments.