summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD Scott Phillips <d.scott.phillips@intel.com>2020-05-08 14:37:06 -0700
committerD Scott Phillips <d.scott.phillips@intel.com>2020-05-08 14:49:07 -0700
commit6c998c7adfd386eede37de49080a043ef1ec0e34 (patch)
tree397f7a84e555ee39742ead1836d7fad4ead89c29
parent1a59590e5d686a11687151d57f2fd43d366d6720 (diff)
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 <jordan.l.justen@intel.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4970>
-rwxr-xr-xsrc/intel/tools/intel_dump_gpu.in2
1 files changed, 1 insertions, 1 deletions
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=""