gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions | Variables
Trace Namespace Reference

Classes

class  ArmNativeTrace
 
class  SparcNativeTrace
 
class  X86NativeTrace
 
class  Logger
 Debug logging base class. More...
 
class  OstreamLogger
 Logging wrapper for ostreams with the format: <when>: <name>: <message-body> More...
 
class  ExeTracerRecord
 
class  ExeTracer
 
class  InstPBTraceRecord
 This in an instruction tracer that records the flow of instructions through multiple cpus and systems to a protobuf file specified by proto/inst.proto for further analysis. More...
 
class  InstPBTrace
 
class  IntelTraceRecord
 
class  IntelTrace
 
class  NativeTraceRecord
 
class  NativeTrace
 
class  InstRecord
 
class  InstTracer
 

Functions

LoggergetDebugLogger ()
 Get the current global debug logger. More...
 
std::ostream & output ()
 Get the ostream from the current global logger. More...
 
void setDebugLogger (Logger *logger)
 Delete the current global logger and assign a new one. More...
 
void enable ()
 Enable/disable debug logging. More...
 
void disable ()
 

Variables

static const char * intRegNames [SparcISA::NumIntArchRegs]
 
Loggerdebug_logger = NULL
 
ObjectMatch ignore
 

Function Documentation

void Trace::disable ( )

Definition at line 97 of file trace.cc.

References Debug::SimpleFlag::disableAll().

Referenced by pybind_init_debug().

void Trace::enable ( )

Enable/disable debug logging.

Definition at line 91 of file trace.cc.

References Debug::SimpleFlag::enableAll().

Referenced by pybind_init_debug().

Logger * Trace::getDebugLogger ( )

Get the current global debug logger.

This takes ownership of the given logger which should be allocated using 'new'

Definition at line 66 of file trace.cc.

References debug_logger.

Referenced by ignore(), and output().

std::ostream & Trace::output ( )

Get the ostream from the current global logger.

Definition at line 76 of file trace.cc.

References getDebugLogger(), and Trace::Logger::getOstream().

Referenced by Trace::IntelTraceRecord::dump(), and Trace::ExeTracerRecord::traceInst().

void Trace::setDebugLogger ( Logger logger)

Delete the current global logger and assign a new one.

Definition at line 82 of file trace.cc.

References debug_logger, and warn.

Referenced by output().

Variable Documentation

Logger* Trace::debug_logger = NULL

Definition at line 63 of file trace.cc.

Referenced by getDebugLogger(), and setDebugLogger().

ObjectMatch Trace::ignore

Definition at line 102 of file trace.cc.

const char* Trace::intRegNames[SparcISA::NumIntArchRegs]
static
Initial value:
= {
"g0", "g1", "g2", "g3", "g4", "g5", "g6", "g7",
"o0", "o1", "o2", "o3", "o4", "o5", "o6", "o7",
"l0", "l1", "l2", "l3", "l4", "l5", "l6", "l7",
"i0", "i1", "i2", "i3", "i4", "i5", "i6", "i7",
}

Definition at line 41 of file nativetrace.cc.

Referenced by Trace::SparcNativeTrace::check().


Generated on Fri Jun 9 2017 13:04:40 for gem5 by doxygen 1.8.6