diff options
author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2010-03-10 14:14:25 -0500 |
---|---|---|
committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2010-03-10 14:14:25 -0500 |
commit | dfcef130d229234f830d85b20b7749c5b35b9be7 (patch) | |
tree | 28e8f9fb117ca1cf42177a1b282ed6137cd73100 | |
parent | d4da00e0c66d7143759a91925c3027fc54ba8234 (diff) |
st_draw: pass -f to st_show
This allows it to work with traces that did not include a system
release.
-rwxr-xr-x | st_draw | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -76,9 +76,9 @@ LITMUS^RT Schedule Drawing Utility | |||
76 | 76 | ||
77 | Usage: st_draw [OPTIONS] <sched trace file>* | 77 | Usage: st_draw [OPTIONS] <sched trace file>* |
78 | 78 | ||
79 | Options: | 79 | Options: |
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. |
102 | EOF | 102 | EOF |
@@ -124,7 +124,7 @@ fi | |||
124 | if [ -z "$FROM" ] | 124 | if [ -z "$FROM" ] |
125 | then | 125 | then |
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." |