Index: tools/perf/process_halts.sh
===================================================================
--- tools/perf/process_halts.sh	(revision 359d12d8de8e5a1d618c5d15fe31a879bb8bb624)
+++ tools/perf/process_halts.sh	(revision b813f53fc0dfce3e9f17e185d9b6d30753ed0409)
@@ -28,5 +28,5 @@
 fi
 # split the wanted and unwanted output
-awk "/^Processor|^PH:[0-9]+ - [0-9]+ [0-9]+/ {print \$0 > \"$tmpfile\"; next}{print \$0; fflush()}"
+awk "BEGIN{RS = \"[\n\r]\"}/^Processor|^PH:[0-9]+ - [0-9]+ [0-9]+/ {print \$0 > \"$tmpfile\"; next}{print \$0; fflush()}"
 
 # pass the data to the python scirpt
