From c5fca35af1694bd515883ade4b4ab723fe7fcad0 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Mon, 29 Oct 2018 18:14:45 +0000 Subject: [PATCH] intel/sanitize_gpu: add help/gdb options to wrapper MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Lionel Landwerlin Reviewed-by: Tapani Pälli --- src/intel/tools/intel_sanitize_gpu.in | 55 ++++++++++++++++++++++++++- 1 file changed, 54 insertions(+), 1 deletion(-) diff --git a/src/intel/tools/intel_sanitize_gpu.in b/src/intel/tools/intel_sanitize_gpu.in index 3dac954c408..a5b032abc6d 100755 --- a/src/intel/tools/intel_sanitize_gpu.in +++ b/src/intel/tools/intel_sanitize_gpu.in @@ -1,4 +1,57 @@ #!/bin/bash # -*- mode: sh -*- -LD_PRELOAD="@install_libexecdir@/libintel_sanitize_gpu.so${LD_PRELOAD:+:$LD_PRELOAD}" exec "$@" +function show_help() { + cat <