From: Daniel R. Carvalho Date: Tue, 9 Oct 2018 09:27:08 +0000 (+0200) Subject: configs: Fix CPUClass typo in se.py X-Git-Tag: v19.0.0.0~1645 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=38086692c4103f1373c06d79b09a0943935a8b2a;p=gem5.git configs: Fix CPUClass typo in se.py Change 719eb033fe435133abf15501c249eec10d1c861f added a typo to se.py that breaks simpoint simulation, which generates the following error: Traceback (most recent call last): File "", line 1, in File "/home/daniel/gem5/src/python/m5/main.py", line 435, in main exec filecode in scope File "./configs/example/se.py", line 217, in if not CpuConfig.is_atomic_cpu(TestCPUClass): NameError: name 'TestCPUClass' is not defined Change-Id: Ideede8c96a40ee16af733c3d57b02b64f1a18d12 Signed-off-by: Daniel R. Carvalho Reviewed-on: https://gem5-review.googlesource.com/c/13267 Reviewed-by: Jason Lowe-Power Maintainer: Jason Lowe-Power --- diff --git a/configs/example/se.py b/configs/example/se.py index 804ef02c5..f12d4a994 100644 --- a/configs/example/se.py +++ b/configs/example/se.py @@ -214,7 +214,7 @@ if CpuConfig.is_kvm_cpu(CPUClass) or CpuConfig.is_kvm_cpu(FutureClass): # Sanity check if options.simpoint_profile: - if not CpuConfig.is_atomic_cpu(TestCPUClass): + if not CpuConfig.is_atomic_cpu(CPUClass): fatal("SimPoint/BPProbe should be done with an atomic cpu") if np > 1: fatal("SimPoint generation not supported with more than one CPUs")