diff options
author | Nathan Binkert <nate@binkert.org> | 2009-04-21 15:40:26 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2009-04-21 15:40:26 -0700 |
commit | fcc142463d38fc1d752b2e45c24a9e1040ccfc9e (patch) | |
tree | d793eb4e72298b739b60aef936f1ae29382c30c0 | |
parent | 43c7698f495add972870002430dccc83c3716232 (diff) | |
download | gem5-fcc142463d38fc1d752b2e45c24a9e1040ccfc9e.tar.xz |
pseudo: only include kernel stats if FULL_SYSTEM.
-rw-r--r-- | src/sim/pseudo_inst.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/sim/pseudo_inst.cc b/src/sim/pseudo_inst.cc index 3c2a27f54..b5582578a 100644 --- a/src/sim/pseudo_inst.cc +++ b/src/sim/pseudo_inst.cc @@ -35,7 +35,8 @@ #include <fstream> #include <string> -#include "arch/kernel_stats.hh" +#include "config/full_system.hh" + #include "arch/vtophys.hh" #include "base/debug.hh" #include "cpu/base.hh" @@ -49,7 +50,9 @@ #include "sim/stat_control.hh" #include "sim/stats.hh" #include "sim/system.hh" + #if FULL_SYSTEM +#include "arch/kernel_stats.hh" #include "sim/vptr.hh" #endif |