radeonsi/sqtt: use calloc instead of malloc
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Mon, 13 Nov 2023 20:20:12 +0000 (21:20 +0100)
committerEric Engestrom <eric@engestrom.ch>
Wed, 20 Dec 2023 21:26:40 +0000 (21:26 +0000)
commitd93e7ef99f470ef1ea2391b90b21907c3665ab70
treec7a145aecaaf3d4c023ef200f05c523254cfd9ca
parentfab56a0d03b8e1470a1fabf78499d86a58e0319a
radeonsi/sqtt: use calloc instead of malloc

This makes sure the record is fully initialized and
fixes RGP crashes or missing shaders.

Cc: mesa-stable
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26774>
(cherry picked from commit af8e6c93473da991abbf588ce24ef409b08e84ce)
.pick_status.json
src/gallium/drivers/radeonsi/si_sqtt.c