Go to the documentation of this file.
42 #include "pybind11/pybind11.h"
43 #include "pybind11/stl.h"
53 namespace py = pybind11;
81 py::module m_debug = m_native.def_submodule(
"debug");
91 py::class_<Debug::Flag> c_flag(m_debug,
"Flag");
97 .def_property(
"status",
113 py::class_<Debug::SimpleFlag>(m_debug,
"SimpleFlag", c_flag);
114 py::class_<Debug::CompoundFlag>(m_debug,
"CompoundFlag", c_flag)
119 py::module m_trace = m_native.def_submodule(
"trace");
static void output(const char *filename)
OutputStream * find(const std::string &name) const
Finds stream associated with an open file or stdout/stderr.
OutputStream * create(const std::string &name, bool binary=false, bool no_gz=false)
Creates a file in this directory (optionally compressed).
Logger * getDebugLogger()
Get the current global debug logger.
const std::vector< Flag * > & kids() const
void schedBreak(Tick when)
Cause the simulator to execute a breakpoint.
void setDebugLogger(Logger *logger)
Delete the current global logger and assign a new one.
void enable()
Enable/disable debug logging.
std::ostream * stream() const
Get the output underlying output stream.
Logging wrapper for ostreams with the format: <when>: <name>: <message-body>
void pybind_init_debug(py::module &m_native)
void addIgnore(const ObjectMatch &ignore_)
Add objects to ignore.
virtual bool status() const =0
void setRemoteGDBPort(int port)
static void ignore(const char *expr)
ObjectMatch contains a vector of expressions.
Generated on Wed Sep 30 2020 14:02:07 for gem5 by doxygen 1.8.17