diff options
author | Jon Medhurst <tixy@linaro.org> | 2014-08-04 15:47:44 +0100 |
---|---|---|
committer | Jon Medhurst <tixy@linaro.org> | 2014-08-04 15:47:44 +0100 |
commit | e31266f78058409d18d48e0afa8339e77322b17f (patch) | |
tree | fbdd0afe24d93c24efd14e14634ea8e8aff39228 /tools/gator/daemon/PerfGroup.h | |
parent | 15ce78dafc08b1c5c3ec8f42070ae37160b5154c (diff) |
gator: Version 5.19
Signed-off-by: Jon Medhurst <tixy@linaro.org>
Diffstat (limited to 'tools/gator/daemon/PerfGroup.h')
-rw-r--r-- | tools/gator/daemon/PerfGroup.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/gator/daemon/PerfGroup.h b/tools/gator/daemon/PerfGroup.h index af496d41334c..3f1e2bb4d1c8 100644 --- a/tools/gator/daemon/PerfGroup.h +++ b/tools/gator/daemon/PerfGroup.h @@ -24,6 +24,7 @@ enum PerfGroupFlags { PERF_GROUP_FREQ = 1 << 2, PERF_GROUP_TASK = 1 << 3, PERF_GROUP_SAMPLE_ID_ALL = 1 << 4, + PERF_GROUP_PER_CPU = 1 << 5, }; class PerfGroup { @@ -43,6 +44,7 @@ public: private: // +1 for the group leader struct perf_event_attr mAttrs[MAX_PERFORMANCE_COUNTERS + 1]; + bool mPerCpu[MAX_PERFORMANCE_COUNTERS + 1]; int mKeys[MAX_PERFORMANCE_COUNTERS + 1]; int mFds[NR_CPUS * (MAX_PERFORMANCE_COUNTERS + 1)]; PerfBuffer *const mPb; |