aboutsummaryrefslogtreecommitdiff
path: root/tools/gator/daemon/FtraceDriver.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gator/daemon/FtraceDriver.h')
-rw-r--r--tools/gator/daemon/FtraceDriver.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/gator/daemon/FtraceDriver.h b/tools/gator/daemon/FtraceDriver.h
index b79dc9149d6a..6e592d786617 100644
--- a/tools/gator/daemon/FtraceDriver.h
+++ b/tools/gator/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 &);