diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2004-08-18 23:06:51 -0400 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2004-08-18 23:06:51 -0400 |
commit | 9d4ee7acaa930811bbb8e28894a96fd371702ef4 (patch) | |
tree | 15b67b1fbd88afb34dbf4860adc340408b3da149 /kern/linux/linux_system.hh | |
parent | 239183cfe675684aeca1a2b24362ca5e0a82809d (diff) | |
download | gem5-9d4ee7acaa930811bbb8e28894a96fd371702ef4.tar.xz |
Added code using VPtr to be able to extract info from linux thread
structures.
Added event to print out currently running task
base/traceflags.py:
Added Thread trace flag
kern/linux/linux_system.cc:
kern/linux/linux_system.hh:
Added event to print out currently running task
--HG--
extra : convert_revision : 94347dbaf90f39eb40467b2a43b4628a3deafc6c
Diffstat (limited to 'kern/linux/linux_system.hh')
-rw-r--r-- | kern/linux/linux_system.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kern/linux/linux_system.hh b/kern/linux/linux_system.hh index e7cdf140d..fbfcb788f 100644 --- a/kern/linux/linux_system.hh +++ b/kern/linux/linux_system.hh @@ -52,6 +52,7 @@ class LinuxSkipDelayLoopEvent; class SkipFuncEvent; class FnEvent; class AlphaArguments; +class PrintThreadInfo; /** * This class contains linux specific system code (Loading, Events, Binning). @@ -95,6 +96,8 @@ class LinuxSystem : public System */ LinuxSkipDelayLoopEvent *skipDelayLoopEvent; + PrintThreadInfo *printThreadEvent; + /** Begining of kernel code */ Addr kernelStart; |