From cbbd55af154f88fdd2c58c0398408f242124b005 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sat, 17 Aug 2013 20:04:11 +0100 Subject: overlay: Track requests per-process Signed-off-by: Chris Wilson --- overlay/gpu-perf.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'overlay/gpu-perf.h') 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); -- cgit v1.2.3