Fixing rocprofilerv2 naming and CMake issues
Change-Id: Ib6d336349a056731e5c0f35151296d6fea671360
这个提交包含在:
+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
|
||||
|
||||
|
||||
在新工单中引用
屏蔽一个用户