diff options
Diffstat (limited to 'src/base/trace.cc')
-rw-r--r-- | src/base/trace.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/base/trace.cc b/src/base/trace.cc index c7f338bf5..6b18787c2 100644 --- a/src/base/trace.cc +++ b/src/base/trace.cc @@ -46,6 +46,7 @@ #include "base/output.hh" #include "base/str.hh" #include "debug/FmtFlag.hh" +#include "debug/FmtTicksOff.hh" const std::string &name() { @@ -150,7 +151,7 @@ OstreamLogger::logMessage(Tick when, const std::string &name, if (!name.empty() && ignore.match(name)) return; - if (when != MaxTick) + if (!DTRACE(FmtTicksOff) && (when != MaxTick)) ccprintf(stream, "%7d: ", when); if (DTRACE(FmtFlag) && !flag.empty()) |