SWDEV-387956 : Added CTF in --help option and Fixed plugin path

Change-Id: I666084ddd4f77c4e1c012b6ca13d101e11dbc494
Этот коммит содержится в:
gobhardw
2023-05-23 00:42:16 +05:30
родитель f7e7255f10
Коммит 31c9bc44e1
+2 -2
Просмотреть файл
@@ -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!"