SWDEV-299902: merge_traces script from rocprof fails to include GPU / HSA / ROCTX activity in merged trace

Change-Id: I29cfd6cfaf34bfa588bd90774db6d8ac501e8aa8
This commit is contained in:
Saurabh Verma
2022-01-26 15:43:12 -06:00
parent 5693e1a140
commit 7a7c73b7d8
2 changed files with 27 additions and 16 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ if ! [ -d "${OUTPUT_DIR}" ] ; then
fi
echo "Processing directories: $INPUT_DIRS"
for file in begin_ts_file hcc_ops_trace hsa_handles hip_api_trace roctx_trace; do
for file in begin_ts_file hcc_ops_trace hsa_handles hip_api_trace roctx_trace hsa_api_trace results; do
find ${INPUT_DIRS} -type f -regextype sed -regex ".*/[0-9]\{1,\}_${file}\.txt" \
-not -path "${OUTPUT_DIR}/*" | xargs cat > "${OUTPUT_DIR}/${file}.txt"
done