mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 04:20:08 +01:00
radv: Use secure_getenv for RADV_THREAD_TRACE_TRIGGER
Reviewed-by: Eric Engestrom <eric@igalia.com> Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27381>
This commit is contained in:
parent
c01a07f2e4
commit
e8b0e5cac9
1 changed files with 1 additions and 1 deletions
|
|
@ -300,7 +300,7 @@ static const struct vk_instance_extension_table radv_instance_extensions_support
|
|||
static void
|
||||
radv_handle_legacy_sqtt_trigger(struct vk_instance *instance)
|
||||
{
|
||||
char *trigger_file = getenv("RADV_THREAD_TRACE_TRIGGER");
|
||||
char *trigger_file = secure_getenv("RADV_THREAD_TRACE_TRIGGER");
|
||||
if (trigger_file) {
|
||||
instance->trace_trigger_file = trigger_file;
|
||||
instance->trace_mode |= RADV_TRACE_MODE_RGP;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue