From 31c9bc44e1319da30454672e597f6281caa8952e Mon Sep 17 00:00:00 2001 From: gobhardw Date: Tue, 23 May 2023 00:42:16 +0530 Subject: [PATCH] SWDEV-387956 : Added CTF in --help option and Fixed plugin path Change-Id: I666084ddd4f77c4e1c012b6ca13d101e11dbc494 --- bin/rocprofv2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/rocprofv2 b/bin/rocprofv2 index 437c6d718d..d02036bbf5 100755 --- a/bin/rocprofv2 +++ b/bin/rocprofv2 @@ -32,7 +32,7 @@ usage() { echo -e "--roctx-trace For Collecting ROCTx Traces" echo -e "--kernel-trace For Collecting Kernel dispatch Traces" echo -e "--sys-trace For Collecting HIP and HSA APIs and their Activities Traces along ROCTX and Kernel Dispatch traces" - echo -e "--plugin PLUGIN_NAME For enabling a plugin (file/perfetto/att)" + echo -e "--plugin PLUGIN_NAME For enabling a plugin (file/perfetto/att/ctf)" echo -e "-i | --input For adding counters file path (every line in the text file represents a counter)" echo -e "-o | --output-file For the output file name" echo -e "-d | --output-directory For adding output path where the output files will be saved" @@ -201,7 +201,7 @@ while [ 1 ] ; do if [ $RUN_FROM_BUILD == 1 ]; then export ROCPROFILER_PLUGIN_LIB=lib${PLUGIN}_plugin.so else - export ROCPROFILER_PLUGIN_LIB=rocprofiler/lib${PLUGIN}_plugin.so + export ROCPROFILER_PLUGIN_LIB=lib${PLUGIN}_plugin.so fi else echo -e "Wrong input \"$2\" for plugin!"