2 * Copyright (C) ARM Limited 2013-2014. All rights reserved.
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.
14 #define BUF_SIZE (gSessionData->mTotalBufferSize * 1024 * 1024)
15 #define BUF_MASK (BUF_SIZE - 1)
24 bool useFd(const int cpu, const int fd, const int groupFd);
25 void discard(const int cpu);
27 bool send(Sender *const sender);
31 // After the buffer is flushed it should be unmaped
32 bool mDiscard[NR_CPUS];
34 // Intentionally undefined
35 PerfBuffer(const PerfBuffer &);
36 PerfBuffer &operator=(const PerfBuffer &);