Skip to content
Snippets Groups Projects
Petri Latvala's avatar
Petri Latvala authored
The code assumes (correctly) that perf_event_header's size is
non-zero. Write that out so static analysis also knows it.

Signed-off-by: default avatarPetri Latvala <petri.latvala@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: default avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
15fc7c9d
History
This is a simple overlay showing current GPU activity. An asynchronous
overlay is used, rendered by the CPU to avoid introducing any extra work
on the GPU that we wish to monitor.

The x11-overlay backend requires xf86-video-intel 2.21.15 or later, with
SNA enabled.

As it requires access to debug information, it needs to be run as root.