2 # Generic S1 (Standby) test
4 # This is the configuration file for sleepgraph. It contains
5 # all the tool arguments so that they don't have to be given on the
6 # command line. It also includes advanced settings for functions
7 # and kprobes. It is run like this
9 # sudo ./sleepgraph.py -config config/standby.cfg
14 # ---- General Options ----
17 # print verbose messages (default: false)
21 # e.g. standby, mem, freeze, disk (default: mem)
24 # Output Directory Format
25 # output folder for html, ftrace, and dmesg. Use {date} and {time} for current values
26 output-dir: standby-{hostname}-{date}-{time}
29 # Use rtcwake to autoresume after X seconds, or off to disable (default: 15)
33 # add the dmesg and ftrace log to the html output (default: false)
37 # insert a small visible gap between suspend and resume on the timeline (default: false)
40 # ---- Advanced Options ----
42 # Command to execute in lieu of standby (default: "")
43 # command: echo standby > /sys/power/state
45 # Display user processes
46 # graph user processes and cpu usage in the timeline (default: false)
49 # Display function calls
50 # graph source functions in the timeline (default: false)
53 # Back to Back Suspend/Resume
54 # Run two suspend/resumes back to back (default: false)
57 # Back to Back Suspend Delay
58 # Time delay between the two test runs in ms (default: 0 ms)
62 # Include an N ms delay before (1st) suspend (default: 0 ms)
66 # Include an N ms delay after (last) resume (default: 0 ms)
69 # Minimum Device Length
70 # graph only devices longer than min in the timeline (default: 0.001 ms)
73 # ---- Debug Options ----
76 # gather detailed ftrace callgraph data on all timeline events (default: false)
80 # pre-expand the callgraph data in the html output (default: disabled)
83 # Minimum Callgraph Length
84 # provide callgraph data for blocks longer than min (default: 0.001 ms)
88 # Number of significant digits in timestamps (0:S, [3:ms], 6:us)
92 # show only devs whose name/driver includes one of these strings
93 # devicefilter: _cpu_up,_cpu_down,i915,usb