summaryrefslogtreecommitdiff
path: root/overlay/gem-interrupts.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-08-27 12:24:18 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-08-27 12:31:13 +0100
commitd58aed18ee77b5e8afa7c9eda389786db6ab1818 (patch)
tree5fb6ae1760e4f015e18b4e06bd52ebd4ca95a1a5 /overlay/gem-interrupts.h
parent14614060b8028f9ab4809f0b0e110a23980ecd14 (diff)
overlay: Read interrupts from perf
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'overlay/gem-interrupts.h')
-rw-r--r--overlay/gem-interrupts.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/overlay/gem-interrupts.h b/overlay/gem-interrupts.h
index e9dbc4a9..a818ec8b 100644
--- a/overlay/gem-interrupts.h
+++ b/overlay/gem-interrupts.h
@@ -30,6 +30,7 @@
struct gem_interrupts {
long unsigned last_count, count, delta;
int error;
+ int fd;
};
int gem_interrupts_init(struct gem_interrupts *irqs);