LLVM  10.0.0svn
Public Member Functions | List of all members
llvm::xray::TraceExpander Class Reference

#include "llvm/XRay/FDRTraceExpander.h"

Inheritance diagram for llvm::xray::TraceExpander:
Inheritance graph
[legend]
Collaboration diagram for llvm::xray::TraceExpander:
Collaboration graph
[legend]

Public Member Functions

 TraceExpander (function_ref< void(const XRayRecord &)> F, uint16_t L)
 
Error visit (BufferExtents &) override
 
Error visit (WallclockRecord &) override
 
Error visit (NewCPUIDRecord &) override
 
Error visit (TSCWrapRecord &) override
 
Error visit (CustomEventRecord &) override
 
Error visit (CallArgRecord &) override
 
Error visit (PIDRecord &) override
 
Error visit (NewBufferRecord &) override
 
Error visit (EndBufferRecord &) override
 
Error visit (FunctionRecord &) override
 
Error visit (CustomEventRecordV5 &) override
 
Error visit (TypedEventRecord &) override
 
Error flush ()
 
- Public Member Functions inherited from llvm::xray::RecordVisitor
virtual ~RecordVisitor ()=default
 

Detailed Description

Definition at line 23 of file FDRTraceExpander.h.

Constructor & Destructor Documentation

◆ TraceExpander()

llvm::xray::TraceExpander::TraceExpander ( function_ref< void(const XRayRecord &)>  F,
uint16_t  L 
)
inlineexplicit

Definition at line 38 of file FDRTraceExpander.h.

References flush(), and visit().

Member Function Documentation

◆ flush()

Error llvm::xray::TraceExpander::flush ( )

Definition at line 125 of file FDRTraceExpander.cpp.

References llvm::Error::success().

Referenced by TraceExpander().

◆ visit() [1/12]

Error llvm::xray::TraceExpander::visit ( BufferExtents )
overridevirtual

Implements llvm::xray::RecordVisitor.

Definition at line 21 of file FDRTraceExpander.cpp.

References llvm::Error::success().

Referenced by TraceExpander().

◆ visit() [2/12]

Error llvm::xray::TraceExpander::visit ( WallclockRecord )
overridevirtual

Implements llvm::xray::RecordVisitor.

Definition at line 26 of file FDRTraceExpander.cpp.

References llvm::Error::success().

◆ visit() [3/12]

Error llvm::xray::TraceExpander::visit ( NewCPUIDRecord R)
overridevirtual

◆ visit() [4/12]

Error llvm::xray::TraceExpander::visit ( TSCWrapRecord R)
overridevirtual

◆ visit() [5/12]

Error llvm::xray::TraceExpander::visit ( CustomEventRecord R)
overridevirtual

◆ visit() [6/12]

Error llvm::xray::TraceExpander::visit ( CallArgRecord R)
overridevirtual

◆ visit() [7/12]

Error llvm::xray::TraceExpander::visit ( PIDRecord R)
overridevirtual

◆ visit() [8/12]

Error llvm::xray::TraceExpander::visit ( NewBufferRecord R)
overridevirtual

◆ visit() [9/12]

Error llvm::xray::TraceExpander::visit ( EndBufferRecord )
overridevirtual

Implements llvm::xray::RecordVisitor.

Definition at line 104 of file FDRTraceExpander.cpp.

References llvm::Error::success().

◆ visit() [10/12]

Error llvm::xray::TraceExpander::visit ( FunctionRecord R)
overridevirtual

◆ visit() [11/12]

Error llvm::xray::TraceExpander::visit ( CustomEventRecordV5 R)
overridevirtual

◆ visit() [12/12]

Error llvm::xray::TraceExpander::visit ( TypedEventRecord R)
overridevirtual

The documentation for this class was generated from the following files: