Module: Mesa
Branch: master
Commit: 6c998c7adfd386eede37de49080a043ef1ec0e34
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6c998c7adfd386eede37de49080a043ef1ec0e34

Author: D Scott Phillips <[email protected]>
Date:   Fri May  8 14:37:06 2020 -0700

intel/dump_gpu: Fix name of LD_PRELOAD in env append logic

Checking for the wrong environment variable name to be set causes
us to stomp any pre-existing LD_PRELOAD.

Reviewed-by: Jordan Justen <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4970>

---

 src/intel/tools/intel_dump_gpu.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/intel/tools/intel_dump_gpu.in 
b/src/intel/tools/intel_dump_gpu.in
index f9fed66c1e3..060c21c592b 100755
--- a/src/intel/tools/intel_dump_gpu.in
+++ b/src/intel/tools/intel_dump_gpu.in
@@ -27,7 +27,7 @@ EOF
     exit 0
 }
 
-ld_preload="@install_libexecdir@/libintel_dump_gpu.so${LD_PPRELOAD:+:$LD_PRELOAD}"
+ld_preload="@install_libexecdir@/libintel_dump_gpu.so${LD_PRELOAD:+:$LD_PRELOAD}"
 args=""
 file=""
 gdb=""

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to