misc: Replace namespace Trace with lowercase trace
This is what the coding style demands Change-Id: Ida6a71ad9c2c02cccd584bbaf37a6da751c5b856 Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/63891 Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br> Reviewed-by: Richard Cooper <richard.cooper@arm.com> Tested-by: kokoro <noreply+kokoro@google.com> Maintainer: Daniel Carvalho <odanrc@yahoo.com.br>
This commit is contained in:
@@ -64,7 +64,7 @@ output(const char *filename)
|
||||
if (!file_stream)
|
||||
file_stream = simout.create(filename);
|
||||
|
||||
Trace::setDebugLogger(new Trace::OstreamLogger(*file_stream->stream()));
|
||||
trace::setDebugLogger(new trace::OstreamLogger(*file_stream->stream()));
|
||||
}
|
||||
|
||||
static void
|
||||
@@ -72,7 +72,7 @@ ignore(const char *expr)
|
||||
{
|
||||
ObjectMatch ignore(expr);
|
||||
|
||||
Trace::getDebugLogger()->addIgnore(ignore);
|
||||
trace::getDebugLogger()->addIgnore(ignore);
|
||||
}
|
||||
|
||||
void
|
||||
@@ -123,8 +123,8 @@ pybind_init_debug(py::module_ &m_native)
|
||||
m_trace
|
||||
.def("output", &output)
|
||||
.def("ignore", &ignore)
|
||||
.def("enable", &Trace::enable)
|
||||
.def("disable", &Trace::disable)
|
||||
.def("enable", &trace::enable)
|
||||
.def("disable", &trace::disable)
|
||||
;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user