Get rid of Python stats output option.

--HG--
extra : convert_revision : e53033a2266aed1a1d9c1c9b1c8775a3f1a3f234
This commit is contained in:
Steve Reinhardt 2005-06-05 08:38:47 -04:00
parent d8ecc8868a
commit 90a3c9d8e0
3 changed files with 1 additions and 14 deletions

View file

@ -66,7 +66,6 @@ base_sources = Split('''
base/misc.cc base/misc.cc
base/output.cc base/output.cc
base/pollevent.cc base/pollevent.cc
base/python.cc
base/range.cc base/range.cc
base/random.cc base/random.cc
base/sat_counter.cc base/sat_counter.cc
@ -84,7 +83,6 @@ base_sources = Split('''
base/loader/object_file.cc base/loader/object_file.cc
base/loader/symtab.cc base/loader/symtab.cc
base/stats/events.cc base/stats/events.cc
base/stats/python.cc
base/stats/statdb.cc base/stats/statdb.cc
base/stats/visit.cc base/stats/visit.cc
base/stats/text.cc base/stats/text.cc

View file

@ -37,7 +37,6 @@
#include "base/cprintf.hh" #include "base/cprintf.hh"
#include "base/hostinfo.hh" #include "base/hostinfo.hh"
#include "base/misc.hh" #include "base/misc.hh"
#include "base/python.hh"
#include "base/statistics.hh" #include "base/statistics.hh"
#include "base/str.hh" #include "base/str.hh"
#include "base/time.hh" #include "base/time.hh"

View file

@ -36,7 +36,6 @@
#include "base/misc.hh" #include "base/misc.hh"
#include "base/statistics.hh" #include "base/statistics.hh"
#include "base/stats/text.hh" #include "base/stats/text.hh"
#include "base/stats/python.hh"
#include "base/stats/mysql.hh" #include "base/stats/mysql.hh"
#include "sim/host.hh" #include "sim/host.hh"
@ -94,7 +93,7 @@ usage()
{ {
panic("incorrect usage.\n" panic("incorrect usage.\n"
"usage:\n" "usage:\n"
"\t%s [-p <python file>] [-t [-c] [-d]]\n", progname); "\t%s [-t [-c] [-d]]\n", progname);
} }
int int
@ -103,7 +102,6 @@ main(int argc, char *argv[])
bool descriptions = false; bool descriptions = false;
bool compat = false; bool compat = false;
bool text = false; bool text = false;
string pyfile;
string mysql_name; string mysql_name;
string mysql_host; string mysql_host;
string mysql_user = "binkertn"; string mysql_user = "binkertn";
@ -125,9 +123,6 @@ main(int argc, char *argv[])
case 'P': case 'P':
mysql_passwd = optarg; mysql_passwd = optarg;
break; break;
case 'p':
pyfile = optarg;
break;
case 's': case 's':
mysql_name = optarg; mysql_name = optarg;
break; break;
@ -554,11 +549,6 @@ main(int argc, char *argv[])
out(); out();
} }
if (!pyfile.empty()) {
Python out(pyfile);
out();
}
if (!mysql_name.empty()) { if (!mysql_name.empty()) {
MySql out; MySql out;
out.connect(mysql_host, mysql_user, mysql_passwd, "m5stats", out.connect(mysql_host, mysql_user, mysql_passwd, "m5stats",