common/utrace: Prefix all environment variables with MESA_

To be more consistent with other environment variables and ensure
better scoping, all environment variables in utrace have now been
prefixed with `MESA_`.

Signed-off-by: Mark Collins <mark@igalia.com>
Reviewed-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
Ack-by: Chia-I Wu <olvaffe@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18271>
This commit is contained in:
Mark Collins
2022-10-20 12:16:39 +00:00
committed by Marge Bot
parent 086b50078d
commit 8370a0d6bf
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ test_thread(void *_state)
TEST(UtilPerfTraceTest, Multithread)
{
static char env_tracefile[] = "GPU_TRACEFILE=tracefile_for_test-b5ba5a0c-6ed1-4901-a38d-755991182663";
static char env_tracefile[] = "MESA_GPU_TRACEFILE=tracefile_for_test-b5ba5a0c-6ed1-4901-a38d-755991182663";
thrd_t threads[NUM_DEBUG_TEST_THREAD];
putenv(env_tracefile);
for (unsigned i = 0; i < NUM_DEBUG_TEST_THREAD; i++) {