From 90a3c9d8e0358c4900e96a26e70d15688790b39e Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Sun, 5 Jun 2005 08:38:47 -0400 Subject: [PATCH] Get rid of Python stats output option. --HG-- extra : convert_revision : e53033a2266aed1a1d9c1c9b1c8775a3f1a3f234 --- SConscript | 2 -- base/statistics.cc | 1 - test/stattest.cc | 12 +----------- 3 files changed, 1 insertion(+), 14 deletions(-) diff --git a/SConscript b/SConscript index 3914616be..202fa5161 100644 --- a/SConscript +++ b/SConscript @@ -66,7 +66,6 @@ base_sources = Split(''' base/misc.cc base/output.cc base/pollevent.cc - base/python.cc base/range.cc base/random.cc base/sat_counter.cc @@ -84,7 +83,6 @@ base_sources = Split(''' base/loader/object_file.cc base/loader/symtab.cc base/stats/events.cc - base/stats/python.cc base/stats/statdb.cc base/stats/visit.cc base/stats/text.cc diff --git a/base/statistics.cc b/base/statistics.cc index 141f5d4da..4368f1bcf 100644 --- a/base/statistics.cc +++ b/base/statistics.cc @@ -37,7 +37,6 @@ #include "base/cprintf.hh" #include "base/hostinfo.hh" #include "base/misc.hh" -#include "base/python.hh" #include "base/statistics.hh" #include "base/str.hh" #include "base/time.hh" diff --git a/test/stattest.cc b/test/stattest.cc index 57f099344..b944eff45 100644 --- a/test/stattest.cc +++ b/test/stattest.cc @@ -36,7 +36,6 @@ #include "base/misc.hh" #include "base/statistics.hh" #include "base/stats/text.hh" -#include "base/stats/python.hh" #include "base/stats/mysql.hh" #include "sim/host.hh" @@ -94,7 +93,7 @@ usage() { panic("incorrect usage.\n" "usage:\n" - "\t%s [-p ] [-t [-c] [-d]]\n", progname); + "\t%s [-t [-c] [-d]]\n", progname); } int @@ -103,7 +102,6 @@ main(int argc, char *argv[]) bool descriptions = false; bool compat = false; bool text = false; - string pyfile; string mysql_name; string mysql_host; string mysql_user = "binkertn"; @@ -125,9 +123,6 @@ main(int argc, char *argv[]) case 'P': mysql_passwd = optarg; break; - case 'p': - pyfile = optarg; - break; case 's': mysql_name = optarg; break; @@ -554,11 +549,6 @@ main(int argc, char *argv[]) out(); } - if (!pyfile.empty()) { - Python out(pyfile); - out(); - } - if (!mysql_name.empty()) { MySql out; out.connect(mysql_host, mysql_user, mysql_passwd, "m5stats", -- 2.30.2