summaryrefslogtreecommitdiff
path: root/overlay/perf.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-08-27 15:19:58 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-08-27 15:23:10 +0100
commit65d2481900c619846eddadb85086edbc578d6c17 (patch)
tree548fb3d1f66297f8ae650a67d8b9113b3538a6ae /overlay/perf.h
parentddcd1b2ee5645475725a8e2f78917fa3e7d57c1b (diff)
overlay: read rc6 status from perf
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'overlay/perf.h')
-rw-r--r--overlay/perf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/overlay/perf.h b/overlay/perf.h
index e2be0f7e..c44e65f9 100644
--- a/overlay/perf.h
+++ b/overlay/perf.h
@@ -35,6 +35,10 @@
#define I915_PERF_ENERGY 34
#define I915_PERF_INTERRUPTS 35
+#define I915_PERF_RC6_RESIDENCY 40
+#define I915_PERF_RC6p_RESIDENCY 41
+#define I915_PERF_RC6pp_RESIDENCY 42
+
static inline int
perf_event_open(struct perf_event_attr *attr,
pid_t pid,