2 # Full Callgraph for S3 (Suspend to Mem) 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/suspend.cfg
11 # NOTE: the output of this test is very large (> 30MB)
15 # ---- General Options ----
18 # print verbose messages (default: false)
22 # e.g. standby, mem, freeze, disk (default: mem)
25 # Output Directory Format
26 # output folder for html, ftrace, and dmesg. Use {date} and {time} for current values
27 output-dir: suspend-{hostname}-{date}-{time}-cg
30 # Use rtcwake to autoresume after X seconds, or off to disable (default: 15)
34 # add the dmesg and ftrace log to the html output (default: false)
38 # insert a small visible gap between suspend and resume on the timeline (default: false)
41 # ---- Advanced Options ----
43 # Command to execute in lieu of suspend (default: "")
44 # command: echo mem > /sys/power/state
46 # Display user processes
47 # graph user processes and cpu usage in the timeline (default: false)
50 # Display function calls
51 # graph source functions in the timeline (default: false)
54 # Back to Back Suspend/Resume
55 # Run two suspend/resumes back to back (default: false)
58 # Back to Back Suspend Delay
59 # Time delay between the two test runs in ms (default: 0 ms)
63 # Include an N ms delay before (1st) suspend (default: 0 ms)
67 # Include an N ms delay after (last) resume (default: 0 ms)
70 # Minimum Device Length
71 # graph only devices longer than min in the timeline (default: 0.001 ms)
74 # ---- Debug Options ----
77 # gather detailed ftrace callgraph data on all timeline events (default: false)
81 # limit the callgraph trace to this depth (default: 0 = all)
85 # pre-expand the callgraph data in the html output (default: disabled)
88 # Minimum Callgraph Length
89 # provide callgraph data for blocks longer than min (default: 0.001 ms)
93 # Number of significant digits in timestamps (0:S, [3:ms], 6:us)
97 # show only devs whose name/driver includes one of these strings
98 # devicefilter: _cpu_up,_cpu_down,i915,usb