|
gem5
v20.1.0.5
|
Classes | |
| class | ArmNativeTrace |
| class | ExeTracer |
| class | ExeTracerRecord |
| class | InstPBTrace |
| 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 | InstRecord |
| class | InstTracer |
| class | IntelTrace |
| class | IntelTraceRecord |
| class | Logger |
| Debug logging base class. More... | |
| class | NativeTrace |
| class | NativeTraceRecord |
| class | OstreamLogger |
| Logging wrapper for ostreams with the format: <when>: <name>: <message-body> More... | |
| class | SparcNativeTrace |
| class | TarmacBaseRecord |
| class | TarmacContext |
| This object type is encapsulating the informations needed by a Tarmac record to generate it's own entries. More... | |
| class | TarmacParser |
| Tarmac Parser: this tracer parses an existing Tarmac trace and it diffs it with gem5 simulation status, comparing results and reporting architectural mismatches if any. More... | |
| class | TarmacParserRecord |
| class | TarmacTracer |
| Tarmac Tracer: this tracer generates a new Tarmac Record for every instruction being executed in gem5. More... | |
| class | TarmacTracerRecord |
| TarmacTracer Record: Record generated by the TarmacTracer for every executed instruction. More... | |
| class | TarmacTracerRecordV8 |
| TarmacTracer record for ARMv8 CPUs: The record is adding some data to the base TarmacTracer record. More... | |
| class | X86NativeTrace |
Functions | |
| std::string | iSetStateToStr (TarmacBaseRecord::ISetState isetstate) |
| Returns the string representation of the instruction set being currently run according to the Tarmac format. More... | |
| std::string | opModeToStr (ArmISA::OperatingMode opMode) |
| Returns the string representation of the ARM Operating Mode (CPSR.M[3:0] field) according to the Tarmac format. More... | |
| 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 98 of file trace.cc.
References Debug::Flag::globalDisable().
Referenced by ArmISA::PMU::PMUEvent::detachEvent(), pybind_init_debug(), Gicv3Redistributor::write(), and Gicv3Distributor::write().
| void Trace::enable | ( | ) |
Enable/disable debug logging.
Definition at line 92 of file trace.cc.
References Debug::Flag::globalEnable().
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 67 of file trace.cc.
References debug_logger.
Referenced by ignore(), output(), and Trace::ExeTracerRecord::traceInst().
| std::string Trace::iSetStateToStr | ( | TarmacBaseRecord::ISetState | isetstate | ) |
Returns the string representation of the instruction set being currently run according to the Tarmac format.
| isetstate | enum variable (ISetState) specifying an ARM instruction set. |
Definition at line 51 of file tarmac_record.cc.
Referenced by Trace::TarmacTracerRecordV8::TraceInstEntryV8::print(), and Trace::TarmacTracerRecord::TraceInstEntry::print().
| std::string Trace::opModeToStr | ( | ArmISA::OperatingMode | opMode | ) |
Returns the string representation of the ARM Operating Mode (CPSR.M[3:0] field) according to the Tarmac format.
| opMode | ARM operating mode. |
Definition at line 66 of file tarmac_record.cc.
References ArmISA::MODE_ABORT, ArmISA::MODE_EL0T, ArmISA::MODE_EL1H, ArmISA::MODE_EL1T, ArmISA::MODE_EL2H, ArmISA::MODE_EL2T, ArmISA::MODE_EL3H, ArmISA::MODE_EL3T, ArmISA::MODE_FIQ, ArmISA::MODE_HYP, ArmISA::MODE_IRQ, ArmISA::MODE_MON, ArmISA::MODE_SVC, ArmISA::MODE_SYSTEM, ArmISA::MODE_UNDEFINED, and ArmISA::MODE_USER.
Referenced by Trace::TarmacTracerRecordV8::TraceInstEntryV8::print(), Trace::TarmacTracerRecord::TraceInstEntry::print(), and Trace::TarmacTracerRecord::TraceRegEntry::updateInt().
| std::ostream & Trace::output | ( | ) |
Get the ostream from the current global logger.
Definition at line 77 of file trace.cc.
References getDebugLogger(), and Trace::Logger::getOstream().
Referenced by Trace::IntelTraceRecord::dump(), Trace::TarmacParserRecord::dump(), Trace::TarmacTracerRecord::flushQueues(), Trace::TarmacParserRecord::printMismatchHeader(), and Trace::TarmacParserRecord::TarmacParserRecordEvent::process().
| void Trace::setDebugLogger | ( | Logger * | logger | ) |
Delete the current global logger and assign a new one.
Definition at line 83 of file trace.cc.
References debug_logger, and warn.
Referenced by output().
| Logger* Trace::debug_logger = NULL |
Definition at line 64 of file trace.cc.
Referenced by getDebugLogger(), and setDebugLogger().
| ObjectMatch Trace::ignore |
|
static |
Definition at line 39 of file nativetrace.cc.
Referenced by Trace::SparcNativeTrace::check().