|
LLVM
4.0.0
|
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< Trace > | loadTraceFile (StringRef Filename, bool Sort=false) |
| This function will attempt to load XRay trace records from the provided |Filename|. More... | |
|
strong |
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.
This function will attempt to load XRay trace records from the provided |Filename|.
Definition at line 131 of file XRay/Trace.cpp.
References llvm::sys::fs::mapped_file_region::data(), E, llvm::sys::fs::file_size(), L, Magic, llvm::make_error_code(), NaiveLogLoader(), llvm::sys::fs::openFileForRead(), llvm::sys::fs::mapped_file_region::size(), T, llvm::xray::XRayRecord::TSC, llvm::IndexedInstrProf::Version, and YAMLLogLoader().
1.8.6