Lines Matching +full:suspend +full:- +full:mode

3 sleepgraph \- Suspend/Resume timing analysis
11 in optimizing their linux stack's suspend/resume time. Using a kernel
13 suspend and capture dmesg and ftrace data until resume is complete.
16 taking the most time in suspend/resume.
19 a suspend/resume.
21 Generates output files in subdirectory: suspend-yymmdd-HHMMSS
22 html timeline : <hostname>_<mode>.html
23 raw dmesg file : <hostname>_<mode>_dmesg.txt
24 raw ftrace file : <hostname>_<mode>_ftrace.txt
27 \fB-h\fR
30 \fB-v\fR
33 \fB-verbose\fR
36 \fB-config \fIfile\fR
39 \fB-m \fImode\fR
40 Mode to initiate for suspend e.g. standby, freeze, mem (default: mem).
42 \fB-o \fIname\fR
46 e.g. suspend-{hostname}-{date}-{time}
48 \fB-rtcwake \fIt\fR | off
52 \fB-addlogs\fR
56 \fB-noturbostat\fR
57 By default, if turbostat is found and the requested mode is freeze, sleepgraph
58 will execute the suspend via turbostat and collect data in the timeline log.
61 \fB-result \fIfile\fR
64 \fB-sync\fR
68 \fB-rs \fIenable/disable\fR
69 During test, enable/disable runtime suspend for all devices. The test is delayed
70 by 5 seconds to allow runtime suspend changes to occur. The settings are restored
73 \fB-display \fIon/off/standby/suspend\fR
74 Switch the display to the requested mode for the test using the xset command.
77 \fB-wifi\fR
84 \fB-gzip\fR
88 \fB-cmd \fIstr\fR
89 Run the timeline over a custom suspend command, e.g. pm-suspend. By default
90 the tool forces suspend via /sys/power/state so this allows testing over
91 an OS's official suspend method. The output file will change to
92 hostname_command.html and will autodetect which suspend mode was triggered.
94 \fB-filter \fI"d1,d2,..."\fR
98 \fB-mindev \fIt\fR
103 \fB-proc\fR
106 \fB-dev\fR
109 \fB-x2\fR
110 Run two suspend/resumes back to back (default: disabled).
112 \fB-x2delay \fIt\fR
115 \fB-predelay \fIt\fR
116 Include \fIt\fR ms delay before 1st suspend (default: 0 ms).
118 \fB-postdelay \fIt\fR
121 \fB-multi \fIn d\fR
126 The outputs will be created in a new subdirectory, for count: suspend-{date}-{time}-xN,
127 for duration: suspend-{date}-{time}-Nm. When the multitest run is done, the \fI-summary\fR
129 use \fI-skiphtml\fR). \fI-skiphtml\fR will speed up the testing by not creating timelines
130 or summary html files. You can then run the tool again at a later time with \fI-summary\fR
131 and \fI-genhtml\fR to create the timelines.
133 \fB-maxfail \fIn\fR
134 Abort a -multi run after \fIn\fR consecutive fails. 0 means never abort (default = 0).
136 \fB-skiphtml\fR
138 You can generate the html timelines later with \fI-dmesg\fR & \fI-ftrace\fR, or
139 by running \fI-summary\fR and \fI-genhtml\fR.
143 \fB-f\fR
145 very large outputs, i.e. 10MB - 100MB.
147 \fB-ftop\fR
149 This option implies -f and creates a single callgraph covering all of suspend/resume.
151 \fB-maxdepth \fIlevel\fR
153 the best way to limit the output size when using callgraphs via -f.
155 \fB-expandcg\fR
156 pre-expand the callgraph data in the html output (default: disabled)
158 \fB-fadd \fIfile\fR
161 \fB-mincg \fIt\fR
167 \fB-cgfilter \fI"func1,func2,..."\fR
172 \fB-cgskip \fIfile\fR
179 \fB-cgphase \fIp\fR
182 \fB-cgtest \fIn\fR
185 \fB-timeprec \fIn\fR
188 \fB-bufsize \fIN\fR
189 Set trace buffer size to N kilo-bytes (default: all of free memory up to 3GB)
193 \fB-summary \fIindir\fR
195 Creates summary.html, summary-issues.html, and summary-devices.html in the current folder.
196 summary.html is a table of tests with relevant info sorted by kernel/host/mode,
198 suspend and resume times for you with highlights and links in the header.
199 summary-issues.html is a list of kernel issues found in dmesg from all the tests.
200 summary-devices.html is a list of devices and times from all the tests.
202 Use \fI-genhtml\fR to regenerate any tests with missing html.
204 \fB-genhtml\fR
205 Used with \fI-summary\fR to regenerate any missing html timelines from their
209 \fB-modes\fR
210 List available suspend modes.
212 \fB-status\fR
216 \fB-fpdt\fR
219 \fB-wificheck\fR
222 \fB-xon/-xoff/-xstandby/-xsuspend\fR
223 Test xset by attempting to switch the display to the given mode. This
224 is the same command which will be issued by \fB-display \fImode\fR.
226 \fB-xstat\fR
227 Get the current DPMS display mode.
229 \fB-sysinfo\fR
232 \fB-devinfo\fR
233 Print out the pm settings of all devices which support runtime suspend.
235 \fB-cmdinfo\fR
238 \fB-flist\fR
241 By default, the tool traces a list of important suspend/resume functions
243 with -fadd they will also be checked.
245 \fB-flistall\fR
247 possible values you can add to trace via the -fadd argument.
250 \fB-ftrace \fIfile\fR
253 \fB-dmesg \fIfile\fR
258 Check which suspend modes are currently supported.
260 \f(CW$ sleepgraph -modes\fR
264 \f(CW$ sudo sleepgraph -fpdt\fR
268 \f(CW$ sleepgraph -usbtopo
272 \f(CW$ sudo sleepgraph -f -rtcwake 30 -status
276 \f(CW$ sleepgraph -summary ~/workspace/myresults/\fR
280 Execute a mem suspend with a 15 second wakeup. Include the logs in the html.
282 \f(CW$ sudo sleepgraph -rtcwake 15 -addlogs\fR
286 \f(CW$ sudo sleepgraph -m standby -rtcwake 15 -o "standby-{host}-{date}-{time}"\fR
290 \f(CW$ sudo sleepgraph -m freeze -rtcwake off -o "freeze-{hostname}-{date}-{time}"\fR
294 Execute a suspend & include dev mode source calls, limit callbacks to 5ms or larger.
296 \f(CW$ sudo sleepgraph -m mem -rtcwake 15 -dev -mindev 5\fR
300 \f(CW$ sudo sleepgraph -m mem -rtcwake 15 -x2 -predelay 500 -x2delay 500 -postdelay 500\fR
302 Execute a suspend using a custom command.
304 \f(CW$ sudo sleepgraph -cmd "echo mem > /sys/power/state" -rtcwake 15\fR
307 .SS "endurance testing using -multi"
311 \f(CW$ sudo sleepgraph -m freeze -rtcwake 15 -multi 10 30\fR
315 \f(CW$ sudo sleepgraph -m freeze -rtcwake 15 -multi 24h 0\fR
320 \f(CW$ sudo sleepgraph -m mem -rtcwake 15 -f -maxdepth 5 -mincg 10\fR
322 Capture a full callgraph across all suspend, then filter the html by a single phase.
324 \f(CW$ sudo sleepgraph -m mem -rtcwake 15 -f\fR
326 \f(CW$ sleepgraph -dmesg host_mem_dmesg.txt -ftrace host_mem_ftrace.txt -f -cgphase resume
333 \f(CW$ sleepgraph -dmesg dmesg.txt -ftrace ftrace.txt -callgraph\fR
337 \f(CW$ sleepgraph -dmesg dmesg.txt -ftrace ftrace.txt -addlogs -srgap\fR