Browse Source

Pass stability option to sort tool, not grep :)

Samuel Thibault 11 years ago
parent
commit
e1e5feddca
2 changed files with 6 additions and 6 deletions
  1. 3 3
      tools/starpu_paje_draw_histogram.in
  2. 3 3
      tools/starpu_paje_state_stats.in

+ 3 - 3
tools/starpu_paje_draw_histogram.in

@@ -109,9 +109,9 @@ for file in $inputfiles; do
 	exit 5
     fi
 # Sorting traces
-    grep -s -e '^\(\(%\)\|\(\(1\|2\|3\|4\|5\|6\|7\|8\|9\)\>\)\)' $file > start.trace
-    grep -s -e '^\(\(%\)\|\(\(1\|2\|3\|4\|5\|6\|7\|8\|9\)\>\)\)' -v $file > end.trace
-    sort -V --key=2,2 end.trace > endSorted.trace
+    grep -e '^\(\(%\)\|\(\(1\|2\|3\|4\|5\|6\|7\|8\|9\)\>\)\)' $file > start.trace
+    grep -e '^\(\(%\)\|\(\(1\|2\|3\|4\|5\|6\|7\|8\|9\)\>\)\)' -v $file > end.trace
+    sort -s -V --key=2,2 end.trace > endSorted.trace
     cat start.trace endSorted.trace > outputSorted.trace
 
 # Transferring to .csv

+ 3 - 3
tools/starpu_paje_state_stats.in

@@ -110,9 +110,9 @@ for file in $inputfiles; do
 	exit 5
     fi
 # Sorting traces
-    grep -s -e '^\(\(%\)\|\(\(1\|2\|3\|4\|5\|6\|7\|8\|9\)\>\)\)' $file > start.trace
-    grep -s -e '^\(\(%\)\|\(\(1\|2\|3\|4\|5\|6\|7\|8\|9\)\>\)\)' -v $file > end.trace
-    sort -V --key=2,2 end.trace > endSorted.trace
+    grep -e '^\(\(%\)\|\(\(1\|2\|3\|4\|5\|6\|7\|8\|9\)\>\)\)' $file > start.trace
+    grep -e '^\(\(%\)\|\(\(1\|2\|3\|4\|5\|6\|7\|8\|9\)\>\)\)' -v $file > end.trace
+    sort -s -V --key=2,2 end.trace > endSorted.trace
     cat start.trace endSorted.trace > outputSorted.trace
 
 # Transferring to .csv