aboutsummaryrefslogtreecommitdiff
path: root/daemon/FtraceDriver.h
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/FtraceDriver.h')
-rw-r--r--daemon/FtraceDriver.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/daemon/FtraceDriver.h b/daemon/FtraceDriver.h
index b79dc91..6e592d7 100644
--- a/daemon/FtraceDriver.h
+++ b/daemon/FtraceDriver.h
@@ -19,11 +19,14 @@ public:
void readEvents(mxml_node_t *const xml);
void prepare();
- int read(const char *line, int64_t **buf);
void stop();
+ bool isSupported() const { return mSupported; }
+
private:
int64_t *mValues;
+ bool mSupported;
+ int mTracingOn;
// Intentionally unimplemented
FtraceDriver(const FtraceDriver &);