mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 13:38:06 +02: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>
(cherry picked from commit e8b0e5cac9)
This commit is contained in:
parent
566c2835dc
commit
9ac7a658c4
2 changed files with 2 additions and 2 deletions
|
|
@ -44,7 +44,7 @@
|
|||
"description": "radv: Use secure_getenv for RADV_THREAD_TRACE_TRIGGER",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -297,7 +297,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