summaryrefslogtreecommitdiffstats
path: root/grapher/StapParser.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'grapher/StapParser.hxx')
-rw-r--r--grapher/StapParser.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/grapher/StapParser.hxx b/grapher/StapParser.hxx
index cfb807a8..4dd711e6 100644
--- a/grapher/StapParser.hxx
+++ b/grapher/StapParser.hxx
@@ -38,6 +38,8 @@ namespace systemtap
int _inFd;
unsigned char _lineEndChar;
std::tr1::shared_ptr<StapProcess> _process;
+ sigc::connection _ioConnection;
+ sigc::connection _errIoConnection;
public:
StapParser()
: _errFd(-1), _inFd(-1), _lineEndChar('\n')
@@ -63,7 +65,13 @@ namespace systemtap
{
_process = process;
}
+ void initIo(int inFd, int errFd);
};
sigc::signal<void, pid_t>& childDiedSignal();
+
+ typedef std::vector<std::tr1::shared_ptr<StapParser> > ParserList;
+ extern ParserList parsers;
+
+ sigc::signal<void>& parserListChangedSignal();
}