gator: Version 5.20
[firefly-linux-kernel-4.4.55.git] / tools / gator / daemon / FtraceDriver.h
1 /**
2  * Copyright (C) ARM Limited 2014. All rights reserved.
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  */
8
9 #ifndef FTRACEDRIVER_H
10 #define FTRACEDRIVER_H
11
12 #include "Driver.h"
13
14 class FtraceDriver : public SimpleDriver {
15 public:
16         FtraceDriver();
17         ~FtraceDriver();
18
19         void readEvents(mxml_node_t *const xml);
20
21         int read(const char *line, int64_t **buf);
22
23 private:
24         int64_t *mValues;
25
26         // Intentionally unimplemented
27         FtraceDriver(const FtraceDriver &);
28         FtraceDriver &operator=(const FtraceDriver &);
29 };
30
31 #endif // FTRACEDRIVER_H