From 9a4516bf6e804c02a7c5988d53f4db780afae07a Mon Sep 17 00:00:00 2001 From: Youssef Aly Date: Wed, 8 Nov 2023 21:49:04 +0000 Subject: [PATCH] SWDEV-430410 Fixed hang with --basenames argument rocprofv2 script: missing shift for --basenames argument Change-Id: Ibb4b56bb4e5ca4a8dae473de3932d559d58f7ce1 [ROCm/rocprofiler commit: 369f9e5063320b7accc260b43bff89793ce5b356] --- projects/rocprofiler/bin/rocprofv2 | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/rocprofiler/bin/rocprofv2 b/projects/rocprofiler/bin/rocprofv2 index 139e9cac32..d0445e70c9 100755 --- a/projects/rocprofiler/bin/rocprofv2 +++ b/projects/rocprofiler/bin/rocprofv2 @@ -186,6 +186,7 @@ while [ 1 ]; do exit 0 elif [ "$1" == "--basenames" ]; then export ROCPROFILER_TRUNCATE_KERNEL_PATH=1 + shift elif [ "$1" == "--tool-version" ]; then shift shift