diff --git a/src/sysc/scc/configurable_tracer.cpp b/src/sysc/scc/configurable_tracer.cpp index 77b72473..4be06ef8 100644 --- a/src/sysc/scc/configurable_tracer.cpp +++ b/src/sysc/scc/configurable_tracer.cpp @@ -57,17 +57,13 @@ void configurable_tracer::descend(const sc_core::sc_object* obj, bool trace) { } else if(kind == "sc_module") { auto module_name = obj->name(); auto trace_enable = get_trace_enabled(obj, default_trace_enable_handle.get_cci_value().get()); - printf(fmt::format("{}: {}\n", module_name, trace_enable).c_str()); if(trace_enable) obj->trace(trf); for(auto o : obj->get_child_objects()) descend(o, trace_enable); } else if(kind == "sc_variable") { - if(trace && (types_to_trace & trace_types::VARIABLES) == trace_types::VARIABLES) { - printf(fmt::format("tracing {}\n", obj->name()).c_str()); + if(trace && (types_to_trace & trace_types::VARIABLES) == trace_types::VARIABLES) obj->trace(trf); - } else - printf(fmt::format("not tracing {}\n", obj->name()).c_str()); } else if(kind == "sc_signal" || kind == "sc_clock" || kind == "sc_buffer" || kind == "sc_signal_rv") { if(trace && (types_to_trace & trace_types::SIGNALS) == trace_types::SIGNALS) try_trace(trf, obj, types_to_trace);