arm-ehenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change
on this file since f2b18d01 was
f2b18d01,
checked in by Thierry Delisle <tdelisle@…>, 3 years ago
|
First version of tools to view halts
|
-
Property mode set to
100755
|
File size:
342 bytes
|
Line | |
---|
1 | #!/bin/bash -e |
---|
2 | |
---|
3 | DIR=$( dirname "${BASH_SOURCE[0]}") |
---|
4 | echo $DIR |
---|
5 | tmpfile=$(mktemp) |
---|
6 | function finish { |
---|
7 | rm -rf "$tmpfile" |
---|
8 | } |
---|
9 | trap finish EXIT |
---|
10 | |
---|
11 | # split the wanted and unwanted output |
---|
12 | awk "/^Processor|^PH:[0-9]+ - [0-9]+ [0-9]+/ {print \$0 > \"$tmpfile\"; next}{print \$0; fflush()}" |
---|
13 | |
---|
14 | # pass the data to the python scirpt |
---|
15 | $DIR/view_halts.py $tmpfile |
---|
Note: See
TracBrowser
for help on using the repository browser.