aboutsummaryrefslogtreecommitdiff
path: root/tools/gator/daemon/FSDriver.h
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2014-10-31 16:29:17 +0000
committerMark Brown <broonie@kernel.org>2014-10-31 16:29:17 +0000
commita3d64deb4ee72f27441dd5363d74c294b7dd34a7 (patch)
treee8cd428e662cdeec5e8376d1aac3ab07eb5edbce /tools/gator/daemon/FSDriver.h
parent335ab1659bbf3ecf8dc1ba31e66111d35d54e8c9 (diff)
parent715db954c8f2d97a6742ff13be91c99db22135e9 (diff)
Merge branch 'lsk-3.10-gator' of git://git.linaro.org/landing-teams/working/arm/kernel into lsk-v3.10-gator
Diffstat (limited to 'tools/gator/daemon/FSDriver.h')
-rw-r--r--tools/gator/daemon/FSDriver.h19
1 files changed, 2 insertions, 17 deletions
diff --git a/tools/gator/daemon/FSDriver.h b/tools/gator/daemon/FSDriver.h
index ef3955362331..a7dc8b4df9dd 100644
--- a/tools/gator/daemon/FSDriver.h
+++ b/tools/gator/daemon/FSDriver.h
@@ -11,31 +11,16 @@
#include "Driver.h"
-class Buffer;
-class FSCounter;
-
-class FSDriver : public Driver {
+class FSDriver : public PolledDriver {
public:
FSDriver();
~FSDriver();
- void setup(mxml_node_t *const xml);
-
- bool claimCounter(const Counter &counter) const;
- bool countersEnabled() const;
- void resetCounters();
- void setupCounter(Counter &counter);
+ void readEvents(mxml_node_t *const xml);
int writeCounters(mxml_node_t *root) const;
- void start();
- void read(Buffer * buffer);
-
private:
- FSCounter *findCounter(const Counter &counter) const;
-
- FSCounter *counters;
-
// Intentionally unimplemented
FSDriver(const FSDriver &);
FSDriver &operator=(const FSDriver &);