gem5-dev@gem5.org

The gem5 Developer List

View all threads

[S] Change in gem5/gem5[develop]: cpu: Patch for not building PcCountTracker when ISA is NULL

ZQ
Zhantong Qiu (Gerrit)
Thu, Apr 20, 2023 8:46 PM

Zhantong Qiu has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/69998?usp=email )

Change subject: cpu: Patch for not building PcCountTracker when ISA is NULL
......................................................................

cpu: Patch for not building PcCountTracker when ISA is NULL

This commit modified the SConscript for PcCountTracker and
PcCountTrackerManager to not build when the simulation ISA is NULL

Change-Id: Ica640973aee7eb53a1683620e7cd2ce57d62447d

M src/cpu/probes/SConscript
1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/src/cpu/probes/SConscript b/src/cpu/probes/SConscript
index 9f43317..3629d2a 100644
--- a/src/cpu/probes/SConscript
+++ b/src/cpu/probes/SConscript
@@ -26,11 +26,12 @@

Import("*")

-SimObject(

  • "PcCountTracker.py",
  • sim_objects=["PcCountTracker", "PcCountTrackerManager"],
    -)
    -Source("pc_count_tracker.cc")
    -Source("pc_count_tracker_manager.cc")
    +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")

-DebugFlag("PcCountTracker")

  • DebugFlag("PcCountTracker")

--
To view, visit
https://gem5-review.googlesource.com/c/public/gem5/+/69998?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings

Gerrit-MessageType: newchange
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: Ica640973aee7eb53a1683620e7cd2ce57d62447d
Gerrit-Change-Number: 69998
Gerrit-PatchSet: 1
Gerrit-Owner: Zhantong Qiu ztqiu@ucdavis.edu

Zhantong Qiu has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/69998?usp=email ) Change subject: cpu: Patch for not building PcCountTracker when ISA is NULL ...................................................................... cpu: Patch for not building PcCountTracker when ISA is NULL This commit modified the SConscript for PcCountTracker and PcCountTrackerManager to not build when the simulation ISA is NULL Change-Id: Ica640973aee7eb53a1683620e7cd2ce57d62447d --- M src/cpu/probes/SConscript 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/cpu/probes/SConscript b/src/cpu/probes/SConscript index 9f43317..3629d2a 100644 --- a/src/cpu/probes/SConscript +++ b/src/cpu/probes/SConscript @@ -26,11 +26,12 @@ Import("*") -SimObject( - "PcCountTracker.py", - sim_objects=["PcCountTracker", "PcCountTrackerManager"], -) -Source("pc_count_tracker.cc") -Source("pc_count_tracker_manager.cc") +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") -DebugFlag("PcCountTracker") + DebugFlag("PcCountTracker") -- To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/69998?usp=email To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings Gerrit-MessageType: newchange Gerrit-Project: public/gem5 Gerrit-Branch: develop Gerrit-Change-Id: Ica640973aee7eb53a1683620e7cd2ce57d62447d Gerrit-Change-Number: 69998 Gerrit-PatchSet: 1 Gerrit-Owner: Zhantong Qiu <ztqiu@ucdavis.edu>