File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ OPT_HAS_ARG['p']=1 OPT_VAL['p']=''
5151OPT_NAME[' s' ]=' run-sleepgraph' OPT_DESC[' s' ]=' run with sleepgraph (http://github.com/intel/pm-graph.git)'
5252OPT_HAS_ARG[' s' ]=0 OPT_VAL[' s' ]=0
5353
54- OPT_NAME[' t' ]=' times-thresholds ' OPT_DESC[' t' ]=' sleepgraph thresholds '
54+ OPT_NAME[' t' ]=' resume-threshold ' OPT_DESC[' t' ]=' sleepgraph threshold for resume time '
5555OPT_HAS_ARG[' t' ]=1 OPT_VAL[' t' ]=' '
5656
5757func_opt_parse_option " $@ "
@@ -189,7 +189,7 @@ analyze_sleepgraph_results()
189189 dlogi " Analyzing sleepgraph results"
190190 results_file=$( find suspend-* /* .html)
191191 cp " $results_file " " $LOG_ROOT /"
192- thresholds=" ${OPT_VAL['t']} "
192+ thresholds=$( jq -n " ${OPT_VAL['t']} " )
193193
194194 dlogi " Analyzing $results_file file..."
195195 if python3 " $SCRIPT_HOME " /tools/analyze-sleepgraph-results.py " $results_file " " $thresholds " ; then
You can’t perform that action at this time.
0 commit comments