Home
last modified time | relevance | path

Searched refs:XRayRecord (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/XRay/
H A DFDRTraceExpander.h25 function_ref<void(const XRayRecord &)> C;
29 XRayRecord CurrentRecord{0, 0, RecordTypes::ENTER, 0, 0, 0, 0, {}, {}};
38 explicit TraceExpander(function_ref<void(const XRayRecord &)> F, uint16_t L) in TraceExpander()
H A DTrace.h48 using RecordVector = std::vector<XRayRecord>;
51 typedef std::vector<XRayRecord>::const_iterator citerator;
H A DXRayRecord.h69 struct XRayRecord { struct
/freebsd/contrib/llvm-project/llvm/lib/XRay/
H A DTrace.cpp36 std::vector<XRayRecord> &Records) { in loadNaiveFormatLog()
269 XRayFileHeader &FileHeader, std::vector<XRayRecord> &Records) { in loadFDRLog()
336 auto Adder = [&](const XRayRecord &R) { Records.push_back(R); }; in loadFDRLog()
352 std::vector<XRayRecord> &Records) { in loadYAMLLog()
373 return XRayRecord{R.RecordType, R.CPU, R.Type, in loadYAMLLog()
473 llvm::stable_sort(T.Records, [&](const XRayRecord &L, const XRayRecord &R) { in loadTrace()
/freebsd/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_basic_logging.cpp134 TLD.InMemoryBuffer = reinterpret_cast<XRayRecord *>( in getThreadLocalData()
135 InternalAlloc(sizeof(XRayRecord) * GlobalOptions.ThreadBufferSize, in getThreadLocalData()
136 nullptr, alignof(XRayRecord))); in getThreadLocalData()
235 XRayRecord R; in InMemoryRawLog()
243 auto FirstEntry = reinterpret_cast<XRayRecord *>(TLD.InMemoryBuffer); in InMemoryRawLog()
362 (sizeof(XRayRecord) * TLD.BufferOffset)); in TLDDestructor()
/freebsd/contrib/llvm-project/compiler-rt/include/xray/
H A Dxray_records.h72 struct alignas(32) XRayRecord { struct
104 static_assert(sizeof(XRayRecord) == 32, "XRayRecord != 32 bytes"); argument
/freebsd/contrib/llvm-project/llvm/tools/llvm-xray/
H A Dxray-stacks.cpp112 struct format_xray_record : public FormatAdapter<XRayRecord> {
113 explicit format_xray_record(XRayRecord record, in format_xray_record()
115 : FormatAdapter<XRayRecord>(std::move(record)), Converter(&conv) {} in format_xray_record()
131 // TODO: Add Tail exit when it is added to llvm/XRay/XRayRecord.h in DecodeRecordType()
363 AccountRecordStatus accountRecord(const XRayRecord &R, in accountRecord()
668 const XRayRecord &Record, in print()
H A Dxray-account.h22 #include "llvm/XRay/XRayRecord.h"
92 bool accountRecord(const XRayRecord &Record);
H A Dxray-graph.h139 Error accountRecord(const XRayRecord &Record);
H A Dxray-account.cpp160 bool LatencyAccountant::accountRecord(const XRayRecord &Record) { in accountRecord()
H A Dxray-graph.cpp210 Error GraphRenderer::accountRecord(const XRayRecord &Record) { in accountRecord()