summaryrefslogtreecommitdiff
path: root/src/kern
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2011-04-15 10:44:32 -0700
committerNathan Binkert <nate@binkert.org>2011-04-15 10:44:32 -0700
commiteddac53ff60c579eff28134bde84783fe36d6214 (patch)
tree9095c6b64a6fdabf4e0d00b2c8f2ca40ad495f49 /src/kern
parentf946d7bcdb4d0b4327857d319dd4ecdd1c320d62 (diff)
downloadgem5-eddac53ff60c579eff28134bde84783fe36d6214.tar.xz
trace: reimplement the DTRACE function so it doesn't use a vector
At the same time, rename the trace flags to debug flags since they have broader usage than simply tracing. This means that --trace-flags is now --debug-flags and --trace-help is now --debug-help
Diffstat (limited to 'src/kern')
-rw-r--r--src/kern/linux/events.cc1
-rw-r--r--src/kern/linux/linux.cc1
-rw-r--r--src/kern/system_events.cc1
-rw-r--r--src/kern/tru64/tru64.hh1
-rw-r--r--src/kern/tru64/tru64_events.cc3
5 files changed, 7 insertions, 0 deletions
diff --git a/src/kern/linux/events.cc b/src/kern/linux/events.cc
index 2133172e2..c8b53d848 100644
--- a/src/kern/linux/events.cc
+++ b/src/kern/linux/events.cc
@@ -46,6 +46,7 @@
#include "arch/utility.hh"
#include "base/trace.hh"
#include "cpu/thread_context.hh"
+#include "debug/DebugPrintf.hh"
#include "kern/linux/events.hh"
#include "kern/linux/printk.hh"
#include "kern/system_events.hh"
diff --git a/src/kern/linux/linux.cc b/src/kern/linux/linux.cc
index 72f1832b8..62c25e2df 100644
--- a/src/kern/linux/linux.cc
+++ b/src/kern/linux/linux.cc
@@ -32,6 +32,7 @@
#include <string>
#include "cpu/thread_context.hh"
+#include "debug/SyscallVerbose.hh"
#include "kern/linux/linux.hh"
#include "sim/process.hh"
#include "sim/system.hh"
diff --git a/src/kern/system_events.cc b/src/kern/system_events.cc
index 612aabc0b..3ee7a099a 100644
--- a/src/kern/system_events.cc
+++ b/src/kern/system_events.cc
@@ -34,6 +34,7 @@
#include "base/trace.hh"
#include "config/the_isa.hh"
#include "cpu/thread_context.hh"
+#include "debug/PCEvent.hh"
#include "kern/system_events.hh"
using namespace TheISA;
diff --git a/src/kern/tru64/tru64.hh b/src/kern/tru64/tru64.hh
index 7e7fedbc3..09cbb166d 100644
--- a/src/kern/tru64/tru64.hh
+++ b/src/kern/tru64/tru64.hh
@@ -61,6 +61,7 @@ class Tru64 {};
#include "arch/alpha/registers.hh"
#include "config/the_isa.hh"
#include "cpu/base.hh"
+#include "debug/SyscallVerbose.hh"
#include "sim/core.hh"
#include "sim/syscall_emul.hh"
diff --git a/src/kern/tru64/tru64_events.cc b/src/kern/tru64/tru64_events.cc
index 7b8cf0db9..216f81b86 100644
--- a/src/kern/tru64/tru64_events.cc
+++ b/src/kern/tru64/tru64_events.cc
@@ -34,6 +34,9 @@
#include "config/the_isa.hh"
#include "cpu/base.hh"
#include "cpu/thread_context.hh"
+#include "debug/BADADDR.hh"
+#include "debug/DebugPrintf.hh"
+#include "debug/Printf.hh"
#include "kern/tru64/dump_mbuf.hh"
#include "kern/tru64/printf.hh"
#include "kern/tru64/tru64_events.hh"