gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
Linux::KernelPanicEvent Class Reference

Dump the guest kernel's dmesg buffer to a file in gem5's output directory and panic. More...

#include <events.hh>

Inheritance diagram for Linux::KernelPanicEvent:
PCEvent

Public Member Functions

 KernelPanicEvent (PCEventQueue *q, const std::string &desc, Addr addr, const std::string &_fname)
 
virtual void process (ThreadContext *xc)
 
- Public Member Functions inherited from PCEvent
 PCEvent (PCEventQueue *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
 
- Protected Attributes inherited from PCEvent
std::string description
 
PCEventQueuequeue
 
Addr evpc
 

Detailed Description

Dump the guest kernel's dmesg buffer to a file in gem5's output directory and panic.

This event uses 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 87 of file events.hh.

Constructor & Destructor Documentation

Linux::KernelPanicEvent::KernelPanicEvent ( PCEventQueue q,
const std::string &  desc,
Addr  addr,
const std::string &  _fname 
)
inline

Definition at line 93 of file events.hh.

Member Function Documentation

void Linux::KernelPanicEvent::process ( ThreadContext xc)
virtual

Member Data Documentation

std::string Linux::KernelPanicEvent::fname
protected

Definition at line 90 of file events.hh.

Referenced by process().


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

Generated on Fri Jun 9 2017 13:04:32 for gem5 by doxygen 1.8.6