From b682366b301714d8329e1cf556b715ff8ae48c55 Mon Sep 17 00:00:00 2001 From: Matthias Jung Date: Mon, 9 Jan 2017 09:32:13 -0600 Subject: [PATCH] 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 --- configs/example/fs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/example/fs.py b/configs/example/fs.py index adc67e44c..1ada59084 100644 --- a/configs/example/fs.py +++ b/configs/example/fs.py @@ -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