[igt-dev] [PATCH i-g-t] intel_gpu_top: Do not print client header if no client stats

Matthew Auld matthew.william.auld at gmail.com
Thu Apr 1 13:24:40 UTC 2021


On Wed, 31 Mar 2021 at 09:57, Tvrtko Ursulin
<tvrtko.ursulin at linux.intel.com> wrote:
>
> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
>
> Add a check if client stats are present to init_clients() so that the
> returned clients data can be null from the start. This prevents the client
> stats header to be printed on old kernels.
>
> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
Reviewed-by: Matthew Auld <matthew.auld at intel.com>


More information about the igt-dev mailing list