gem5 v24.0.0.0
|
Specify what to do on a Linux Kernel Panic or Oops. More...
#include <events.hh>
Public Member Functions | |
PanicOrOopsEvent (PCEventScope *s, const std::string &desc, Addr addr, const std::string &_fname, const KernelPanicOopsBehaviour _behaviour) | |
void | process (ThreadContext *tc) override |
Public Member Functions inherited from gem5::PCEvent | |
PCEvent (PCEventScope *q, const std::string &desc, Addr pc) | |
virtual | ~PCEvent () |
virtual const std::string | name () const |
std::string | descr () const |
Addr | pc () const |
bool | remove () |
Protected Attributes | |
std::string | fname |
KernelPanicOopsBehaviour | behaviour |
Protected Attributes inherited from gem5::PCEvent | |
std::string | description |
PCEventScope * | scope |
Addr | evpc |
Specify what to do on a Linux Kernel Panic or Oops.
@warn This event may use linux::dumpDmesg() and comes with the same limitations. Most importantly, the kernel's address mappings must be available to the translating proxy.
|
inline |
|
overridevirtual |
Implements gem5::PCEvent.
Definition at line 62 of file events.cc.
References behaviour, gem5::OutputDirectory::close(), gem5::OutputDirectory::create(), gem5::curTick(), gem5::PCEvent::descr(), gem5::linux::dumpDmesg(), gem5::exitSimLoop(), fname, inform, gem5::X86ISA::os, panic, gem5::simout, and warn.
|
protected |
|
protected |