diff options
Diffstat (limited to 'tools/gator/daemon/PerfBuffer.h')
-rw-r--r-- | tools/gator/daemon/PerfBuffer.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/gator/daemon/PerfBuffer.h b/tools/gator/daemon/PerfBuffer.h index 278a3b9d6db7..25a10625a9e8 100644 --- a/tools/gator/daemon/PerfBuffer.h +++ b/tools/gator/daemon/PerfBuffer.h @@ -21,7 +21,7 @@ public: PerfBuffer(); ~PerfBuffer(); - bool useFd(const int cpu, const int fd, const int groupFd); + bool useFd(const int cpu, const int fd); void discard(const int cpu); bool isEmpty(); bool send(Sender *const sender); @@ -30,6 +30,8 @@ private: void *mBuf[NR_CPUS]; // After the buffer is flushed it should be unmaped bool mDiscard[NR_CPUS]; + // fd that corresponds to the mBuf + int mFds[NR_CPUS]; // Intentionally undefined PerfBuffer(const PerfBuffer &); |