summaryrefslogtreecommitdiff
path: root/overlay/gpu-perf.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-12-21 13:53:27 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2014-12-21 13:56:04 +0000
commiteb799b29947a9030aca7d808e97190635636c8de (patch)
tree5bfe850617a83bee0893a05f14dab0608a251bff /overlay/gpu-perf.h
parent0be9766952333dc54a0c568bc487660c0caf5edf (diff)
overlay: Hide kworker threads in overview
The kworker threads are used for flip handling and other non-userspace driver tasks. They are non-blocking and so do not impact upon how userspace performs, but they do obscure that information in the overview. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'overlay/gpu-perf.h')
-rw-r--r--overlay/gpu-perf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/overlay/gpu-perf.h b/overlay/gpu-perf.h
index 23eba2fa..3e363fb7 100644
--- a/overlay/gpu-perf.h
+++ b/overlay/gpu-perf.h
@@ -26,6 +26,7 @@
#define GPU_PERF_H
#include <stdint.h>
+#include <stdbool.h>
#define MAX_RINGS 4
@@ -48,6 +49,7 @@ struct gpu_perf {
struct gpu_perf_comm *next;
char name[256];
pid_t pid;
+ bool active;
int nr_requests[4];
void *user_data;