48 #include "arch/utility.hh"
53 #include "debug/DebugPrintf.hh"
106 inform(
"Dumping kernel dmesg buffer to %s...\n",
fname);
119 inform(
"Dumping kernel dmesg buffer to %s...\n",
fname);
virtual void process(ThreadContext *xc)
std::ostream * stream() const
Get the output underlying output stream.
virtual System * getSystemPtr()=0
void quiesceNs(ThreadContext *tc, uint64_t ns)
OutputStream * create(const std::string &name, bool binary=false, bool no_gz=false)
Creates a file in this directory (optionally compressed).
void dumpDmesg(ThreadContext *tc, std::ostream &os)
Dump Linux's dmesg log buffer to the an output stream.
uint64_t getArgument(ThreadContext *tc, int &number, uint16_t size, bool fp)
virtual BaseCPU * getCpuPtr()=0
virtual void process(ThreadContext *xc)
ThreadContext is the external interface to all thread state for anything outside of the CPU...
uint64_t argMultToNs
value to multiple arg by to create ns.
virtual void process(ThreadContext *xc)
std::string descr() const
This class encapsulates the types, structures, constants, functions, and syscall-number mappings spec...
virtual const std::string name() const
virtual void process(ThreadContext *xc)
void close(OutputStream *file)
Closes an output file and free the corresponding OutputFile.
uint64_t argDivToNs
value to divide arg by to create ns.
virtual const std::string name() const
virtual void process(ThreadContext *tc)
void Printk(stringstream &out, Arguments args)