stats: delete mysql support
we can add it back within python in some future changeset
This commit is contained in:
@@ -39,16 +39,6 @@ def initText(filename, desc=True):
|
||||
output = internal.stats.initText(filename, desc)
|
||||
outputList.append(output)
|
||||
|
||||
def initMySQL(host, database, user='', passwd='', project='test', name='test',
|
||||
sample='0'):
|
||||
if not user:
|
||||
import getpass
|
||||
user = getpass.getuser()
|
||||
|
||||
output = internal.stats.initMySQL(host, database, user, passwd,
|
||||
project, name, sample)
|
||||
outputList.append(output)
|
||||
|
||||
def initSimStats():
|
||||
internal.stats.initSimStats()
|
||||
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
%include <stdint.i>
|
||||
|
||||
%{
|
||||
#include "base/stats/mysql.hh"
|
||||
#include "base/stats/text.hh"
|
||||
#include "base/stats/types.hh"
|
||||
#include "base/callback.hh"
|
||||
@@ -141,9 +140,6 @@ template <class T> T cast_info(Info *info);
|
||||
|
||||
void initSimStats();
|
||||
Output *initText(const std::string &filename, bool desc);
|
||||
Output *initMySQL(std::string host, std::string database, std::string user,
|
||||
std::string passwd, std::string project, std::string name,
|
||||
std::string sample);
|
||||
|
||||
void schedStatEvent(bool dump, bool reset,
|
||||
Tick when = curTick(), Tick repeat = 0);
|
||||
|
||||
Reference in New Issue
Block a user