diff options
author | Nathan Binkert <binkertn@umich.edu> | 2004-07-30 10:18:04 -0400 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2004-07-30 10:18:04 -0400 |
commit | 41988a86b56984e19e9ef45991a39c00fdb3f21e (patch) | |
tree | bdbf0abd4c0898cbfaae887c9b9fcb27f2677ccf /kern/tru64 | |
parent | b1fa4e9f0a687f8005ab0ba3cbfb5f4e6fb0172f (diff) | |
download | gem5-41988a86b56984e19e9ef45991a39c00fdb3f21e.tar.xz |
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
Diffstat (limited to 'kern/tru64')
-rw-r--r-- | kern/tru64/dump_mbuf.cc | 4 |
1 files changed, 3 insertions, 1 deletions
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; |