diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-12-21 13:53:27 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-12-21 13:56:04 +0000 |
commit | eb799b29947a9030aca7d808e97190635636c8de (patch) | |
tree | 5bfe850617a83bee0893a05f14dab0608a251bff /overlay/gpu-perf.h | |
parent | 0be9766952333dc54a0c568bc487660c0caf5edf (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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/overlay/gpu-perf.h b/overlay/gpu-perf.h index 23eba2fa0..3e363fb7b 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; |