Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertToDir ¶
ConvertToDir - Convert InputDirection into Bool
func ConvertToType ¶
ConvertToType - Convert a string into a Type
Types ¶
type LineType ¶
type LineType int
LineType - The possible values of the ASCII string received from DUT
type TraceLog ¶
type TraceLog struct {
// contains filtered or unexported fields
}
TraceLog - Structure were we hold the general TraceLog Informations
func CreateTraceLog ¶
func CreateTraceLog(devTTYDevicePath string, baudTTYDevice int, fifoDevicePath string, cfg config.Config) (*TraceLog, error)
CreateTraceLog - Create a new Trace Log
func (*TraceLog) CollectNewTracelog ¶
func (tl *TraceLog) CollectNewTracelog(config []byte) ([]TraceLogEntry, error)
CollectNewTracelog - Collects a new Trace Log
func (*TraceLog) SetVerbose ¶
SetVerbose - Set verbosity of tracing
type TraceLogEntry ¶
type TraceLogEntry struct { // Instruction pointer IP uint // Use one of LineType Type int // True: In, False: Out Inout bool // The address that was accessed Address uint // The value read/written Value uint64 // 8, 16, 32, 64 bit AccessSize uint }
TraceLogEntry - Parse line into Line struct
func (*TraceLogEntry) SmallString ¶
func (tle *TraceLogEntry) SmallString() string
SmallString - Convert TraceLogEntry into a Readable String
func (*TraceLogEntry) String ¶
func (tle *TraceLogEntry) String() string
String - Convert TraceLogEntry into a Readable String
Click to show internal directories.
Click to hide internal directories.