Fixing rocprofilerv2 naming and CMake issues

Change-Id: Ib6d336349a056731e5c0f35151296d6fea671360
这个提交包含在:
Ammar ELWazir
2023-02-17 11:12:27 -06:00
父节点 bc48a2d164
当前提交 dc69331379
修改 62 个文件,包含 228 行新增234237 行删除
+12 -12
查看文件
@@ -36,13 +36,13 @@ usage() {
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"
echo -e "-fi | --flush-interval For adding a flush interval in milliseconds, every \"flush interval\" the buffers will be flushed"
echo -e "\n###ATT Plugin options: ###"
if [ $RUN_FROM_BUILD == 1 ]; then
ATT_PATH=$ROCPROFV2_DIR/build/plugin/att/att/att.py
else
ATT_PATH=$ROCPROFV2_DIR/../libexec/rocprofiler/att/att.py
fi
eval "python3 $ATT_PATH --help"
# echo -e "\n###ATT Plugin options: ###"
# if [ $RUN_FROM_BUILD == 1 ]; then
# ATT_PATH=$ROCPROFV2_DIR/build/plugin/att/att/att.py
# else
# ATT_PATH=$ROCPROFV2_DIR/../libexec/rocprofiler/att/att.py
# fi
# eval "python3 $ATT_PATH --help"
exit 1
}
@@ -207,11 +207,11 @@ while [ 1 ] ; do
exit 1
fi
if [ "$2" = "att" ] ; then
#if [ $RUN_FROM_BUILD == 1 ]; then
# export ROCMTOOLS_ATT_PARSER=build/libatt_parser.so
#else
# export ROCMTOOLS_ATT_PARSER=$ROCPROFV2_DIR/../lib/rocprofiler/libatt_parser.so
#fi
if [ $RUN_FROM_BUILD == 1 ]; then
ATT_PATH=$ROCPROFV2_DIR/build/plugin/att/att/att.py
else
ATT_PATH=$ROCPROFV2_DIR/../libexec/rocprofiler/att/att.py
fi
ATT_ARGV=$3
shift