changeset f1ffedcf3b98 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=f1ffedcf3b98
description:
config: Fix missing include in fs.py
Bugfix for Elastic Traces
This patch fixes the bug when elastic traces are used:
build/ARM/gem5.opt \
configs/example/fs.py \
--cpu-type=arm_detailed \
--num-cpu=1 \
--mem-type=SimpleMemory \
--mem-size=512MB \
--mem-channels=1 \
--caches \
--elastic-trace-en \
--data-trace-file=data.proto.gz \
--inst-trace-file=inst.proto.gz \
--machine-type=VExpress_EMM \
--dtb-filename=vexpress.aarch32.ll_20131205.0-gem5.1cpu.dtb \
--kernel=vmlinux.aarch32.ll_20131205.0-gem5 \
--disk-image=linux-aarch32-ael.img
NameError: global name 'CpuConfig' is not defined
Signed-off by: Jason Lowe-Power <[email protected]>
diffstat:
configs/example/fs.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r c10c50cb8ac9 -r f1ffedcf3b98 configs/example/fs.py
--- a/configs/example/fs.py Tue Jan 03 17:31:39 2017 +0000
+++ b/configs/example/fs.py Mon Jan 09 09:32:13 2017 -0600
@@ -59,6 +59,7 @@
from common import Simulation
from common import CacheConfig
from common import MemConfig
+from common import CpuConfig
from common.Caches import *
from common import Options
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev