Go to the documentation of this file.
42 #include "pybind11/pybind11.h"
43 #include "pybind11/stl.h"
54 namespace py = pybind11;
87 py::module_ m_debug = m_native.def_submodule(
"debug");
97 py::class_<debug::Flag> c_flag(m_debug,
"Flag");
103 .def_property(
"tracing",
119 py::class_<debug::SimpleFlag>(m_debug,
"SimpleFlag", c_flag)
122 py::class_<debug::CompoundFlag>(m_debug,
"CompoundFlag", c_flag)
127 py::module_ m_trace = m_native.def_submodule(
"trace");
ObjectMatch contains a vector of expressions.
static void ignore(const char *expr)
void pybind_init_debug(py::module_ &m_native)
static void output(const char *filename)
Logger * getDebugLogger()
Get the current global debug logger.
void setRemoteGDBPort(int port)
OutputStream * create(const std::string &name, bool binary=false, bool no_gz=false)
Creates a file in this directory (optionally compressed).
std::ostream * stream() const
Get the output underlying output stream.
const std::vector< Flag * > & kids() const
GEM5_DEPRECATED_NAMESPACE(GuestABI, guest_abi)
Logging wrapper for ostreams with the format: <when>: <name>: <message-body>
OutputStream * find(const std::string &name) const
Finds stream associated with an open file or stdout/stderr.
void setDebugLogger(Logger *logger)
Delete the current global logger and assign a new one.
void schedBreak(Tick when)
Cause the simulator to execute a breakpoint.
void enable()
Enable/disable debug logging.
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
bool isFormat() const
Checks whether this flag is a conventional debug flag, or a flag that modifies the way debug informat...
Generated on Tue Sep 21 2021 12:24:56 for gem5 by doxygen 1.8.17