config: Fix missing include in fs.py
authorMatthias Jung <jungma@eit.uni-kl.de>
Mon, 9 Jan 2017 15:32:13 +0000 (09:32 -0600)
committerMatthias Jung <jungma@eit.uni-kl.de>
Mon, 9 Jan 2017 15:32:13 +0000 (09:32 -0600)
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 <jason@lowepower.com>

configs/example/fs.py

index adc67e44cb56e1e631c9de13a47944713a0dc707..1ada590845c3152658a5aa23f48a2cd745bdef91 100644 (file)
@@ -59,6 +59,7 @@ from common.Benchmarks import *
 from common import Simulation
 from common import CacheConfig
 from common import MemConfig
+from common import CpuConfig
 from common.Caches import *
 from common import Options