From 41988a86b56984e19e9ef45991a39c00fdb3f21e Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Fri, 30 Jul 2004 10:18:04 -0400 Subject: Make the DDUMP tracing feature output the cycle number and the object name on every line. This makes grep a bit more effective. kern/tru64/dump_mbuf.cc: use the new data dump format that trace.hh now provides --HG-- extra : convert_revision : 179efa96aaff9da710baae13c9e981975d2abdc1 --- kern/tru64/dump_mbuf.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'kern/tru64') diff --git a/kern/tru64/dump_mbuf.cc b/kern/tru64/dump_mbuf.cc index 9121e823d..5dd8e64c3 100644 --- a/kern/tru64/dump_mbuf.cc +++ b/kern/tru64/dump_mbuf.cc @@ -31,6 +31,7 @@ #include "base/cprintf.hh" #include "base/trace.hh" +#include "cpu/exec_context.hh" #include "kern/tru64/mbuf.hh" #include "sim/host.hh" #include "targetarch/arguments.hh" @@ -58,7 +59,8 @@ DumpMbuf(AlphaArguments args) addr, m.m_data, m.m_len); char *buffer = new char[m.m_len]; CopyOut(xc, buffer, m.m_data, m.m_len); - Trace::rawDump((uint8_t *)buffer, m.m_len); + Trace::dataDump(curTick, xc->system->name(), (uint8_t *)buffer, + m.m_len); delete [] buffer; count -= m.m_len; -- cgit v1.2.3