summaryrefslogtreecommitdiff
path: root/src/python/m5
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/m5')
-rw-r--r--src/python/m5/trace.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/python/m5/trace.py b/src/python/m5/trace.py
index f34444810..a78b77fc1 100644
--- a/src/python/m5/trace.py
+++ b/src/python/m5/trace.py
@@ -32,7 +32,7 @@ import util
from internal.trace import output, ignore
def disable():
- internal.trace.cvar.enabled = False
+ internal.trace.disable()
def enable():
- internal.trace.cvar.enabled = True
+ internal.trace.enable()