|
gem5
|
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 | |
| Logger * | getDebugLogger () |
| 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] |
| Logger * | debug_logger = NULL |
| ObjectMatch | ignore |
| 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.
| 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().
| Logger* Trace::debug_logger = NULL |
Definition at line 63 of file trace.cc.
Referenced by getDebugLogger(), and setDebugLogger().
| ObjectMatch Trace::ignore |
|
static |
Definition at line 41 of file nativetrace.cc.
Referenced by Trace::SparcNativeTrace::check().