Lines Matching refs:Trace
1 //===- xray-converter.cpp: XRay Trace Conversion --------------------------===//
24 #include "llvm/XRay/Trace.h"
32 static cl::SubCommand Convert("convert", "Trace Format Conversion");
87 void TraceConverter::exportAsYAML(const Trace &Records, raw_ostream &OS) {
88 YAMLXRayTrace Trace;
90 Trace.Header = {FH.Version, FH.Type, FH.ConstantTSC, FH.NonstopTSC,
92 Trace.Records.reserve(Records.size());
94 Trace.Records.push_back({R.RecordType, R.CPU, R.Type, R.FuncId,
101 Out << Trace;
104 void TraceConverter::exportAsRAWv1(const Trace &Records, raw_ostream &OS) {
274 void TraceConverter::exportAsChromeTraceEventFormat(const Trace &Records,
294 // TODO: Make feature request to Chrome Trace viewer to accept ticks and a
302 // TODO: Support typed and custom event rendering on Chrome Trace Viewer.
340 OS << "\n ],\n"; // Close the Trace Events array.