summaryrefslogtreecommitdiff
path: root/src/python
diff options
context:
space:
mode:
Diffstat (limited to 'src/python')
-rw-r--r--src/python/m5/stats.py4
-rw-r--r--src/python/swig/stats.i2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/python/m5/stats.py b/src/python/m5/stats.py
index 5bd9d5f6a..40a49b001 100644
--- a/src/python/m5/stats.py
+++ b/src/python/m5/stats.py
@@ -30,8 +30,8 @@ import internal
from internal.stats import StatEvent as event
-def initText(filename, desc=True, compat=True):
- internal.stats.initText(filename, desc, compat)
+def initText(filename, desc=True):
+ internal.stats.initText(filename, desc)
def initMySQL(host, database, user='', passwd='', project='test', name='test',
sample='0'):
diff --git a/src/python/swig/stats.i b/src/python/swig/stats.i
index 284df8ff8..ef58687aa 100644
--- a/src/python/swig/stats.i
+++ b/src/python/swig/stats.i
@@ -41,7 +41,7 @@
namespace Stats {
void initSimStats();
-void initText(const std::string &filename, bool desc=true, bool compat=true);
+void initText(const std::string &filename, bool desc);
void initMySQL(std::string host, std::string database, std::string user,
std::string passwd, std::string project, std::string name,
std::string sample);