From b309f4e54dc6c1c3e8d522bb574605ed2f718894 Mon Sep 17 00:00:00 2001 From: gobhardw Date: Wed, 21 Jun 2023 15:27:21 +0530 Subject: [PATCH] Fixing --list-counters from rocm path Change-Id: I5746b862e6dd9050703dd0d9a793a37187ec2343 [ROCm/rocprofiler commit: cc5a1189db9b1f773b663e9701802697541331aa] --- projects/rocprofiler/bin/rocprofv2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/rocprofiler/bin/rocprofv2 b/projects/rocprofiler/bin/rocprofv2 index 43e016b3de..09811f2c10 100755 --- a/projects/rocprofiler/bin/rocprofv2 +++ b/projects/rocprofiler/bin/rocprofv2 @@ -119,7 +119,7 @@ while [ 1 ] ; do else export ROCPROFILER_METRICS_PATH=$ROCPROFV2_DIR/../libexec/rocprofiler/counters/derived_counters.xml export LD_LIBRARY_PATH=$ROCPROFV2_DIR/../lib:$LD_LIBRARY_PATH - export LD_PRELOAD=$ROCPROFV2_DIR/../lib/librocprofiler_tool.so + LD_PRELOAD=$LD_PRELOAD:$ROCM_DIR/lib/rocprofiler/librocprofiler_tool.so eval $ROCPROFV2_DIR/../libexec/rocprofiler/ctrl fi exit 1