summaryrefslogtreecommitdiff
path: root/src/python/m5/trace.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/m5/trace.py')
-rw-r--r--src/python/m5/trace.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/python/m5/trace.py b/src/python/m5/trace.py
index 14bab77a3..17aa6196c 100644
--- a/src/python/m5/trace.py
+++ b/src/python/m5/trace.py
@@ -32,6 +32,9 @@ import util
from internal.trace import clear, output, set, ignore
+def disable():
+ internal.trace.cvar.enabled = False
+
def enable():
internal.trace.cvar.enabled = True