diff --git a/projects/roctracer/test/run.sh b/projects/roctracer/test/run.sh index 4c89f13f8c..d5af3570f4 100755 --- a/projects/roctracer/test/run.sh +++ b/projects/roctracer/test/run.sh @@ -44,7 +44,7 @@ export ROCP_THRS=1 export LD_LIBRARY_PATH=$PWD # ROC profiler library loaded by HSA runtime export HSA_TOOLS_LIB="test/libtracer_tool.so libroctracer64.so" -export LD_PRELOAD="test/libtracer_tool.so libroctracer64.so" +export LD_PRELOAD="$HSA_TOOLS_LIB" eval ./test/hsa/ctrl