summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2010-03-10 14:14:25 -0500
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2010-03-10 14:14:25 -0500
commitdfcef130d229234f830d85b20b7749c5b35b9be7 (patch)
tree28e8f9fb117ca1cf42177a1b282ed6137cd73100
parentd4da00e0c66d7143759a91925c3027fc54ba8234 (diff)
st_draw: pass -f to st_show
This allows it to work with traces that did not include a system release.
-rwxr-xr-xst_draw8
1 files changed, 4 insertions, 4 deletions
diff --git a/st_draw b/st_draw
index e12139a..54cf262 100755
--- a/st_draw
+++ b/st_draw
@@ -76,9 +76,9 @@ LITMUS^RT Schedule Drawing Utility
76 76
77Usage: st_draw [OPTIONS] <sched trace file>* 77Usage: st_draw [OPTIONS] <sched trace file>*
78 78
79Options: 79Options:
80 -f FROM 80 -f FROM
81 --from FROM Start at time FROM. 81 --from FROM Start at time FROM.
82 Time of system release if not specified. 82 Time of system release if not specified.
83 83
84 -l LENGTH 84 -l LENGTH
@@ -96,7 +96,7 @@ Options:
96 --keep Keep the generated .asy/.pdf files. 96 --keep Keep the generated .asy/.pdf files.
97 97
98 --no-show Don't start a PDF document viewer. 98 --no-show Don't start a PDF document viewer.
99 99
100 -h 100 -h
101 --help Show this message and exit. 101 --help Show this message and exit.
102EOF 102EOF
@@ -124,7 +124,7 @@ fi
124if [ -z "$FROM" ] 124if [ -z "$FROM" ]
125then 125then
126 info "Searching for task system release..." 126 info "Searching for task system release..."
127 FROM=`$ST_SHOW -r $TRACES | sed 's/\.[0-9]*ms//'` 127 FROM=`$ST_SHOW -r -f $TRACES | sed 's/\.[0-9]*ms//'`
128 if [ -z "$FROM" ] 128 if [ -z "$FROM" ]
129 then 129 then
130 die "No task system release found in trace." 130 die "No task system release found in trace."