diff options
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2021-03-31 09:57:13 +0100 |
---|---|---|
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2021-04-01 15:38:23 +0100 |
commit | 198d02e0db3d0940a59802b35b9e108ad618f2a3 (patch) | |
tree | 9562c4386406d3eea99974105767af9438cb397b /scripts | |
parent | 03905dc18a28978d1ca7430ca2c3de96411bdc48 (diff) |
intel_gpu_top: Do not print client header if no client stats
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@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions