LLVM 20.0.0git
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]

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
 
virtual Error visit (BufferExtents &)=0
 
virtual Error visit (WallclockRecord &)=0
 
virtual Error visit (NewCPUIDRecord &)=0
 
virtual Error visit (TSCWrapRecord &)=0
 
virtual Error visit (CustomEventRecord &)=0
 
virtual Error visit (CallArgRecord &)=0
 
virtual Error visit (PIDRecord &)=0
 
virtual Error visit (NewBufferRecord &)=0
 
virtual Error visit (EndBufferRecord &)=0
 
virtual Error visit (FunctionRecord &)=0
 
virtual Error visit (CustomEventRecordV5 &)=0
 
virtual Error visit (TypedEventRecord &)=0
 

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.

Member Function Documentation

◆ flush()

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

Definition at line 125 of file FDRTraceExpander.cpp.

References llvm::Error::success().

◆ 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().

◆ visit() [2/12]

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

◆ visit() [3/12]

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

◆ visit() [4/12]

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

◆ visit() [5/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() [6/12]

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

◆ visit() [7/12]

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

Implements llvm::xray::RecordVisitor.

Definition at line 95 of file FDRTraceExpander.cpp.

References llvm::Error::success().

◆ visit() [8/12]

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

Implements llvm::xray::RecordVisitor.

Definition at line 28 of file FDRTraceExpander.cpp.

References llvm::Error::success().

◆ visit() [9/12]

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

Implements llvm::xray::RecordVisitor.

Definition at line 90 of file FDRTraceExpander.cpp.

References llvm::Error::success().

◆ visit() [10/12]

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

Implements llvm::xray::RecordVisitor.

Definition at line 34 of file FDRTraceExpander.cpp.

References llvm::Error::success().

◆ visit() [11/12]

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

◆ visit() [12/12]

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

Implements llvm::xray::RecordVisitor.

Definition at line 26 of file FDRTraceExpander.cpp.

References llvm::Error::success().


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