• Home
  • Raw
  • Download

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-result \fIfile\fR
59 \fB-sync\fR
63 \fB-rs \fIenable/disable\fR
64 During test, enable/disable runtime suspend for all devices. The test is delayed
65 by 5 seconds to allow runtime suspend changes to occur. The settings are restored
68 \fB-display \fIon/off\fR
72 \fB-skiphtml\fR
77 \fB-gzip\fR
81 \fB-cmd \fIstr\fR
82 Run the timeline over a custom suspend command, e.g. pm-suspend. By default
83 the tool forces suspend via /sys/power/state so this allows testing over
84 an OS's official suspend method. The output file will change to
85 hostname_command.html and will autodetect which suspend mode was triggered.
87 \fB-filter \fI"d1,d2,..."\fR
91 \fB-mindev \fIt\fR
96 \fB-proc\fR
99 \fB-dev\fR
102 \fB-x2\fR
103 Run two suspend/resumes back to back (default: disabled).
105 \fB-x2delay \fIt\fR
108 \fB-predelay \fIt\fR
109 Include \fIt\fR ms delay before 1st suspend (default: 0 ms).
111 \fB-postdelay \fIt\fR
114 \fB-multi \fIn d\fR
116 be created in a new subdirectory with a summary page: suspend-xN-{date}-{time}.
120 \fB-f\fR
122 very large outputs, i.e. 10MB - 100MB.
124 \fB-maxdepth \fIlevel\fR
126 the best way to limit the output size when using callgraphs via -f.
128 \fB-expandcg\fR
129 pre-expand the callgraph data in the html output (default: disabled)
131 \fB-fadd \fIfile\fR
134 \fB-mincg \fIt\fR
140 \fB-cgfilter \fI"func1,func2,..."\fR
145 \fB-cgskip \fIfile\fR
152 \fB-cgphase \fIp\fR
155 \fB-cgtest \fIn\fR
158 \fB-timeprec \fIn\fR
161 \fB-bufsize \fIN\fR
162 Set trace buffer size to N kilo-bytes (default: all of free memory up to 3GB)
166 \fB-summary \fIindir\fR
169 suspend and resume values sorted by suspend mode, host, and kernel.
170 Includes test averages by mode and links to the test html files.
171 Use -genhtml to include tests with missing html.
173 \fB-modes\fR
174 List available suspend modes.
176 \fB-status\fR
180 \fB-fpdt\fR
183 \fB-battery\fR
186 \fB-sysinfo\fR
189 \fB-devinfo\fR
190 Print out the pm settings of all devices which support runtime suspend.
192 \fB-flist\fR
195 By default, the tool traces a list of important suspend/resume functions
197 with -fadd they will also be checked.
199 \fB-flistall\fR
201 possible values you can add to trace via the -fadd argument.
204 \fB-ftrace \fIfile\fR
207 \fB-dmesg \fIfile\fR
212 Check which suspend modes are currently supported.
214 \f(CW$ sleepgraph -modes\fR
218 \f(CW$ sudo sleepgraph -fpdt\fR
222 \f(CW$ sleepgraph -usbtopo
226 \f(CW$ sudo sleepgraph -f -rtcwake 30 -status
230 \f(CW$ sleepgraph -summary ~/workspace/myresults/\fR
234 Execute a mem suspend with a 15 second wakeup. Include the logs in the html.
236 \f(CW$ sudo sleepgraph -rtcwake 15 -addlogs\fR
240 \f(CW$ sudo sleepgraph -m standby -rtcwake 15 -o "standby-{host}-{date}-{time}"\fR
244 \f(CW$ sudo sleepgraph -m freeze -rtcwake off -o "freeze-{hostname}-{date}-{time}"\fR
248 Execute a suspend & include dev mode source calls, limit callbacks to 5ms or larger.
250 \f(CW$ sudo sleepgraph -m mem -rtcwake 15 -dev -mindev 5\fR
254 \f(CW$ sudo sleepgraph -m mem -rtcwake 15 -x2 -predelay 500 -x2delay 500 -postdelay 500\fR
258 \f(CW$ sudo sleepgraph -m freeze -rtcwake 15 -multi 10 30\fR
260 Execute a suspend using a custom command.
262 \f(CW$ sudo sleepgraph -cmd "echo mem > /sys/power/state" -rtcwake 15\fR
268 \f(CW$ sudo sleepgraph -m mem -rtcwake 15 -f -maxdepth 5 -mincg 10\fR
270 Capture a full callgraph across all suspend, then filter the html by a single phase.
272 \f(CW$ sudo sleepgraph -m mem -rtcwake 15 -f\fR
274 \f(CW$ sleepgraph -dmesg host_mem_dmesg.txt -ftrace host_mem_ftrace.txt -f -cgphase resume
281 \f(CW$ sleepgraph -dmesg dmesg.txt -ftrace ftrace.txt -callgraph\fR
285 \f(CW$ sleepgraph -dmesg dmesg.txt -ftrace ftrace.txt -addlogs -srgap\fR