forked from Imagelibrary/rtems
Modified to produce correct output with new version of sis.
This commit is contained in:
@@ -183,6 +183,7 @@ do
|
|||||||
*)
|
*)
|
||||||
echo "load $tfile"
|
echo "load $tfile"
|
||||||
echo "go 0x02000000"
|
echo "go 0x02000000"
|
||||||
|
echo ""
|
||||||
echo "perf"
|
echo "perf"
|
||||||
echo "quit"
|
echo "quit"
|
||||||
;;
|
;;
|
||||||
@@ -239,13 +240,17 @@ do
|
|||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
output_it=1
|
output_it=1
|
||||||
sed -e '1,12d' \
|
sed -e '1,9d' \
|
||||||
-e 's/
|
-e 's/
|
||||||
//' -e '/^$/d' < ${logfile}.tmp |
|
//' -e '/^$/d' < ${logfile}.tmp |
|
||||||
while read line
|
while read line
|
||||||
do
|
do
|
||||||
if [ $output_it -eq 1 ] ; then
|
if [ $output_it -eq 1 ] ; then
|
||||||
if [ "$line" = "sis> perf" ] ; then
|
if [ "$line" = "sis> perf" ] ; then
|
||||||
|
output_it=0
|
||||||
|
elif [ "$line" = "sis> quit" ] ; then
|
||||||
|
output_it=0
|
||||||
|
elif [ "$line" = "sis>" ] ; then
|
||||||
output_it=0
|
output_it=0
|
||||||
else
|
else
|
||||||
echo "$line"
|
echo "$line"
|
||||||
|
|||||||
Reference in New Issue
Block a user