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/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

View file

@ -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"

View file

@ -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 <python file>] [-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",