From e3f51e595c0a49d2d3fca5d720f350f50b89c3dd Mon Sep 17 00:00:00 2001 From: Melissa Jost Date: Thu, 2 Mar 2023 16:34:22 -0800 Subject: [PATCH] cpu: Allow PcCountTracker to compile in NULL ISA While the PcCountTracker isn't necessary in the NULL ISA, the structure of the standard library requires us to have it built when running the replacement policy tests, which should fix these tests failing within the nightlies at the moment. Change-Id: I225b7923f2a11d351c24bdceba3ded4ed2b3bc87 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/68597 Maintainer: Jason Lowe-Power Reviewed-by: Jason Lowe-Power Tested-by: kokoro --- src/cpu/probes/SConscript | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/cpu/probes/SConscript b/src/cpu/probes/SConscript index c96ca78a0c..9f43317284 100644 --- a/src/cpu/probes/SConscript +++ b/src/cpu/probes/SConscript @@ -26,12 +26,11 @@ Import("*") -if not env["CONF"]["USE_NULL_ISA"]: - SimObject( - "PcCountTracker.py", - sim_objects=["PcCountTracker", "PcCountTrackerManager"], - ) - Source("pc_count_tracker.cc") - Source("pc_count_tracker_manager.cc") +SimObject( + "PcCountTracker.py", + sim_objects=["PcCountTracker", "PcCountTrackerManager"], +) +Source("pc_count_tracker.cc") +Source("pc_count_tracker_manager.cc") - DebugFlag("PcCountTracker") +DebugFlag("PcCountTracker")