LLVM  4.0.0
Classes | Enumerations | Functions
llvm::xray Namespace Reference

Classes

class  Trace
 A Trace object represents the records that have been loaded from XRay log files generated by instrumented binaries. More...
 
struct  XRayFileHeader
 XRay traces all have a header providing some top-matter information useful to help tools determine how to interpret the information available in the trace. More...
 
struct  XRayRecord
 
struct  YAMLXRayFileHeader
 
struct  YAMLXRayRecord
 
struct  YAMLXRayTrace
 

Enumerations

enum  RecordTypes { RecordTypes::ENTER, RecordTypes::EXIT }
 Determines the supported types of records that could be seen in XRay traces. More...
 

Functions

Expected< TraceloadTraceFile (StringRef Filename, bool Sort=false)
 This function will attempt to load XRay trace records from the provided |Filename|. More...
 

Enumeration Type Documentation

Determines the supported types of records that could be seen in XRay traces.

This may or may not correspond to actual record types in the raw trace (as the loader implementation may synthesize this information in the process of of loading).

Enumerator
ENTER 
EXIT 

Definition at line 51 of file XRayRecord.h.

Function Documentation

Expected< Trace > llvm::xray::loadTraceFile ( StringRef  Filename,
bool  Sort = false 
)