SWDEV-454917 Fix for multi-line input files in counter collection

Change-Id: Ibe63514cb6e14fe628f60a9f1952df24802d6d05


[ROCm/rocprofiler commit: 79096aff75]
This commit is contained in:
gobhardw
2024-04-03 15:09:57 +05:30
orang tua 6081bfeb56
melakukan 43e528d546
+2 -2
Melihat File
@@ -298,13 +298,13 @@ if [ -n "$PMC_LINES" ] && [ ! -n "$ATT_ARGV" ]; then
export OUTPUT_PATH=$FINAL_PATH
fi
let COUNTER=COUNTER+1
exec "${@}"
LD_PRELOAD=$LD_PRELOAD "${@}"
if [ -n "$OUTPUT_PATH" ]; then
echo -e "\nThe output path for the following counters: $OUTPUT_PATH"
fi
done
else
exec "${@}"
LD_PRELOAD=$LD_PRELOAD "${@}"
fi
get_pmc_results_txt_path() {