gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::linux::PanicOrOopsEvent Class Reference

Specify what to do on a Linux Kernel Panic or Oops. More...

#include <events.hh>

Inheritance diagram for gem5::linux::PanicOrOopsEvent:
gem5::PCEvent

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
 
PCEventScopescope
 
Addr evpc
 

Detailed Description

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.

Definition at line 93 of file events.hh.

Constructor & Destructor Documentation

◆ PanicOrOopsEvent()

gem5::linux::PanicOrOopsEvent::PanicOrOopsEvent ( PCEventScope * s,
const std::string & desc,
Addr addr,
const std::string & _fname,
const KernelPanicOopsBehaviour _behaviour )
inline

Definition at line 100 of file events.hh.

Member Function Documentation

◆ process()

Member Data Documentation

◆ behaviour

KernelPanicOopsBehaviour gem5::linux::PanicOrOopsEvent::behaviour
protected

Definition at line 97 of file events.hh.

Referenced by process().

◆ fname

std::string gem5::linux::PanicOrOopsEvent::fname
protected

Definition at line 96 of file events.hh.

Referenced by process().


The documentation for this class was generated from the following files:

Generated on Tue Jun 18 2024 16:24:19 for gem5 by doxygen 1.11.0