cpu: Correctly call parent on switchOut() and takeOverFrom()
[gem5.git] / src / cpu / NativeTrace.py
index 96b4e991b079f085a99989b71be9466f83495f96..fbcb341f0029502ad0f70f7df09ff8472757ca87 100644 (file)
 
 from m5.SimObject import SimObject
 from m5.params import *
-from InstTracer import InstTracer
+from ExeTracer import ExeTracer
 
-class NativeTrace(InstTracer):
+class NativeTrace(ExeTracer):
+    abstract = True
     type = 'NativeTrace'
-    cxx_namespace = 'Trace'
-    cxx_class = 'NativeTrace'
+    cxx_class = 'Trace::NativeTrace'
+    cxx_header = "cpu/nativetrace.hh"