Todd E Brandt | a6fbdbb2 | 2018-01-30 00:17:18 -0800 | [diff] [blame] | 1 | # |
| 2 | # Dev S2 (Freeze) test - includes src calls / kernel threads |
| 3 | # |
| 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 |
| 8 | # |
| 9 | # sudo ./sleepgraph.py -config config/freeze-dev.cfg |
| 10 | # |
| 11 | |
| 12 | [Settings] |
| 13 | |
| 14 | # ---- General Options ---- |
| 15 | |
| 16 | # Verbosity |
| 17 | # print verbose messages (default: false) |
| 18 | verbose: false |
| 19 | |
| 20 | # Suspend Mode |
| 21 | # e.g. standby, mem, freeze, disk (default: mem) |
| 22 | mode: freeze |
| 23 | |
| 24 | # Output Directory Format |
| 25 | # output folder for html, ftrace, and dmesg. Use {date} and {time} for current values |
| 26 | output-dir: freeze-{hostname}-{date}-{time}-dev |
| 27 | |
| 28 | # Automatic Wakeup |
| 29 | # Use rtcwake to autoresume after X seconds, or off to disable (default: 15) |
| 30 | rtcwake: 15 |
| 31 | |
| 32 | # Add Logs |
| 33 | # add the dmesg and ftrace log to the html output (default: false) |
| 34 | addlogs: false |
| 35 | |
| 36 | # Suspend/Resume Gap |
| 37 | # insert a small visible gap between suspend and resume on the timeline (default: false) |
| 38 | srgap: false |
| 39 | |
| 40 | # ---- Advanced Options ---- |
| 41 | |
| 42 | # Command to execute in lieu of freeze (default: "") |
| 43 | # command: echo freeze > /sys/power/state |
| 44 | |
| 45 | # Display user processes |
| 46 | # graph user processes and cpu usage in the timeline (default: false) |
| 47 | proc: false |
| 48 | |
| 49 | # Display function calls |
| 50 | # graph source functions in the timeline (default: false) |
| 51 | dev: true |
| 52 | |
| 53 | # Back to Back Suspend/Resume |
| 54 | # Run two suspend/resumes back to back (default: false) |
| 55 | x2: false |
| 56 | |
| 57 | # Back to Back Suspend Delay |
| 58 | # Time delay between the two test runs in ms (default: 0 ms) |
| 59 | x2delay: 0 |
| 60 | |
| 61 | # Pre Suspend Delay |
| 62 | # Include an N ms delay before (1st) suspend (default: 0 ms) |
| 63 | predelay: 0 |
| 64 | |
| 65 | # Post Resume Delay |
| 66 | # Include an N ms delay after (last) resume (default: 0 ms) |
| 67 | postdelay: 0 |
| 68 | |
| 69 | # Minimum Device Length |
| 70 | # graph only devices longer than min in the timeline (default: 0.001 ms) |
| 71 | mindev: 1 |
| 72 | |
| 73 | # ---- Debug Options ---- |
| 74 | |
| 75 | # Callgraph |
| 76 | # gather detailed ftrace callgraph data on all timeline events (default: false) |
| 77 | callgraph: false |
| 78 | |
| 79 | # Expand Callgraph |
| 80 | # pre-expand the callgraph data in the html output (default: disabled) |
| 81 | expandcg: false |
| 82 | |
| 83 | # Minimum Callgraph Length |
| 84 | # provide callgraph data for blocks longer than min (default: 0.001 ms) |
| 85 | mincg: 1 |
| 86 | |
| 87 | # Timestamp Precision |
| 88 | # Number of significant digits in timestamps (0:S, [3:ms], 6:us) |
| 89 | timeprec: 3 |
| 90 | |
| 91 | # Device Filter |
| 92 | # show only devs whose name/driver includes one of these strings |
| 93 | # devicefilter: _cpu_up,_cpu_down,i915,usb |