gem5 v24.0.0.0
|
Classes | |
class | ArmCapstoneDisassembler |
class | ArmNativeTrace |
class | CapstoneDisassembler |
Capstone Disassembler: The disassembler relies on the capstone library to convert the StaticInst encoding into the disassembled string. More... | |
class | ExeTracer |
class | ExeTracerRecord |
class | InstDisassembler |
The base InstDisassembler class provides a one-API interface to disassemble the instruction passed as a first argument. More... | |
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. | |
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. | |
Logger * | getDebugLogger () |
Get the current global debug logger. | |
std::ostream & | output () |
Get the ostream from the current global logger. | |
void | setDebugLogger (Logger *logger) |
Delete the current global logger and assign a new one. | |
void | enable () |
Enable/disable debug logging. | |
void | disable () |
Variables | |
static const char * | regNames [] |
static const char * | intRegNames [SparcISA::int_reg::NumArchRegs] |
Logger * | debug_logger = NULL |
ObjectMatch | ignore |
void gem5::trace::disable | ( | ) |
void gem5::trace::enable | ( | ) |
Logger * gem5::trace::getDebugLogger | ( | ) |
Get the current global debug logger.
This takes ownership of the given logger which should be allocated using 'new'
Definition at line 68 of file trace.cc.
References debug_logger.
Referenced by gem5::activate(), gem5::ignore(), output(), gem5::RegisterBank< BankByteOrder >::read(), TEST(), TEST(), TEST(), gem5::trace::ExeTracerRecord::traceInst(), and gem5::RegisterBank< BankByteOrder >::write().
std::string gem5::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 56 of file tarmac_record.cc.
References gem5::trace::TarmacBaseRecord::ISET_A64, gem5::trace::TarmacBaseRecord::ISET_ARM, and gem5::trace::TarmacBaseRecord::ISET_THUMB.
Referenced by gem5::trace::TarmacTracerRecord::TraceInstEntry::print(), and gem5::trace::TarmacTracerRecordV8::TraceInstEntryV8::print().
std::string gem5::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 71 of file tarmac_record.cc.
References gem5::ArmISA::MODE_ABORT, gem5::ArmISA::MODE_EL0T, gem5::ArmISA::MODE_EL1H, gem5::ArmISA::MODE_EL1T, gem5::ArmISA::MODE_EL2H, gem5::ArmISA::MODE_EL2T, gem5::ArmISA::MODE_EL3H, gem5::ArmISA::MODE_EL3T, gem5::ArmISA::MODE_FIQ, gem5::ArmISA::MODE_HYP, gem5::ArmISA::MODE_IRQ, gem5::ArmISA::MODE_MON, gem5::ArmISA::MODE_SVC, gem5::ArmISA::MODE_SYSTEM, gem5::ArmISA::MODE_UNDEFINED, and gem5::ArmISA::MODE_USER.
Referenced by gem5::trace::TarmacTracerRecord::TraceInstEntry::print(), gem5::trace::TarmacTracerRecordV8::TraceInstEntryV8::print(), and gem5::trace::TarmacTracerRecord::TraceRegEntry::updateInt().
std::ostream & gem5::trace::output | ( | ) |
Get the ostream from the current global logger.
Definition at line 78 of file trace.cc.
References getDebugLogger(), and gem5::trace::Logger::getOstream().
Referenced by gem5::trace::IntelTraceRecord::dump(), gem5::trace::TarmacParserRecord::dump(), gem5::trace::TarmacParserRecord::printMismatchHeader(), gem5::trace::TarmacParserRecord::TarmacParserRecordEvent::process(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), and TEST().
void gem5::trace::setDebugLogger | ( | Logger * | logger | ) |
Delete the current global logger and assign a new one.
Definition at line 84 of file trace.cc.
References debug_logger, and warn.
Referenced by gem5::output(), and TEST().
Logger* gem5::trace::debug_logger = NULL |
Definition at line 65 of file trace.cc.
Referenced by getDebugLogger(), and setDebugLogger().
ObjectMatch gem5::trace::ignore |
|
static |
Definition at line 42 of file nativetrace.cc.
Referenced by gem5::trace::SparcNativeTrace::check().
|
static |
Definition at line 60 of file nativetrace.cc.
Referenced by gem5::trace::ArmNativeTrace::check().