summaryrefslogtreecommitdiff
path: root/overlay/gpu-perf.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-08-17 20:04:11 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-08-17 20:04:11 +0100
commitcbbd55af154f88fdd2c58c0398408f242124b005 (patch)
tree737cb01bce34240647617aa33d71b6f14c248458 /overlay/gpu-perf.h
parentbe9937b65cbc7ba06f972b68db2a80c2100c4141 (diff)
overlay: Track requests per-process
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'overlay/gpu-perf.h')
-rw-r--r--overlay/gpu-perf.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/overlay/gpu-perf.h b/overlay/gpu-perf.h
index 6a3e00d2..95debc98 100644
--- a/overlay/gpu-perf.h
+++ b/overlay/gpu-perf.h
@@ -12,6 +12,12 @@ struct gpu_perf {
} *sample;
int flip_complete;
+ struct gpu_perf_comm {
+ struct gpu_perf_comm *next;
+ char name[256];
+ pid_t pid;
+ int nr_requests[4];
+ } *comm;
};
void gpu_perf_init(struct gpu_perf *gp, unsigned flags);