1 # 1 # 2 # Generic S3 (Suspend to Mem) test 2 # Generic S3 (Suspend to Mem) test 3 # 3 # 4 # This is the configuration file for sleepgrap 4 # This is the configuration file for sleepgraph. It contains 5 # all the tool arguments so that they don't ha 5 # all the tool arguments so that they don't have to be given on the 6 # command line. It also includes advanced sett 6 # command line. It also includes advanced settings for functions 7 # and kprobes. It is run like this 7 # and kprobes. It is run like this 8 # 8 # 9 # sudo ./sleepgraph.py -config config/suspe 9 # sudo ./sleepgraph.py -config config/suspend.cfg 10 # 10 # 11 11 12 [Settings] 12 [Settings] 13 13 14 # ---- General Options ---- 14 # ---- General Options ---- 15 15 16 # Verbosity 16 # Verbosity 17 # print verbose messages (default: false) 17 # print verbose messages (default: false) 18 verbose: false 18 verbose: false 19 19 20 # Suspend Mode 20 # Suspend Mode 21 # e.g. standby, mem, freeze, disk (default: me 21 # e.g. standby, mem, freeze, disk (default: mem) 22 mode: mem 22 mode: mem 23 23 24 # Output Directory Format 24 # Output Directory Format 25 # output folder for html, ftrace, and dmesg. U 25 # output folder for html, ftrace, and dmesg. Use {date} and {time} for current values 26 output-dir: suspend-{hostname}-{date}-{time} 26 output-dir: suspend-{hostname}-{date}-{time} 27 27 28 # Automatic Wakeup 28 # Automatic Wakeup 29 # Use rtcwake to autoresume after X seconds, o 29 # Use rtcwake to autoresume after X seconds, or off to disable (default: 15) 30 rtcwake: 15 30 rtcwake: 15 31 31 32 # Add Logs 32 # Add Logs 33 # add the dmesg and ftrace log to the html out 33 # add the dmesg and ftrace log to the html output (default: false) 34 addlogs: false 34 addlogs: false 35 35 36 # Suspend/Resume Gap 36 # Suspend/Resume Gap 37 # insert a small visible gap between suspend a 37 # insert a small visible gap between suspend and resume on the timeline (default: false) 38 srgap: false 38 srgap: false 39 39 40 # ---- Advanced Options ---- 40 # ---- Advanced Options ---- 41 41 42 # Command to execute in lieu of suspend (defau 42 # Command to execute in lieu of suspend (default: "") 43 # command: echo mem > /sys/power/state 43 # command: echo mem > /sys/power/state 44 44 45 # Display user processes 45 # Display user processes 46 # graph user processes and cpu usage in the ti 46 # graph user processes and cpu usage in the timeline (default: false) 47 proc: false 47 proc: false 48 48 49 # Display function calls 49 # Display function calls 50 # graph source functions in the timeline (defa 50 # graph source functions in the timeline (default: false) 51 dev: false 51 dev: false 52 52 53 # Back to Back Suspend/Resume 53 # Back to Back Suspend/Resume 54 # Run two suspend/resumes back to back (defaul 54 # Run two suspend/resumes back to back (default: false) 55 x2: false 55 x2: false 56 56 57 # Back to Back Suspend Delay 57 # Back to Back Suspend Delay 58 # Time delay between the two test runs in ms ( 58 # Time delay between the two test runs in ms (default: 0 ms) 59 x2delay: 0 59 x2delay: 0 60 60 61 # Pre Suspend Delay 61 # Pre Suspend Delay 62 # Include an N ms delay before (1st) suspend ( 62 # Include an N ms delay before (1st) suspend (default: 0 ms) 63 predelay: 0 63 predelay: 0 64 64 65 # Post Resume Delay 65 # Post Resume Delay 66 # Include an N ms delay after (last) resume (d 66 # Include an N ms delay after (last) resume (default: 0 ms) 67 postdelay: 0 67 postdelay: 0 68 68 69 # Minimum Device Length 69 # Minimum Device Length 70 # graph only devices longer than min in the ti 70 # graph only devices longer than min in the timeline (default: 0.001 ms) 71 mindev: 0.001 71 mindev: 0.001 72 72 73 # ---- Debug Options ---- 73 # ---- Debug Options ---- 74 74 75 # Callgraph 75 # Callgraph 76 # gather detailed ftrace callgraph data on all 76 # gather detailed ftrace callgraph data on all timeline events (default: false) 77 callgraph: false 77 callgraph: false 78 78 79 # Expand Callgraph 79 # Expand Callgraph 80 # pre-expand the callgraph data in the html ou 80 # pre-expand the callgraph data in the html output (default: disabled) 81 expandcg: false 81 expandcg: false 82 82 83 # Minimum Callgraph Length 83 # Minimum Callgraph Length 84 # provide callgraph data for blocks longer tha 84 # provide callgraph data for blocks longer than min (default: 0.001 ms) 85 mincg: 1 85 mincg: 1 86 86 87 # Timestamp Precision 87 # Timestamp Precision 88 # Number of significant digits in timestamps ( 88 # Number of significant digits in timestamps (0:S, [3:ms], 6:us) 89 timeprec: 3 89 timeprec: 3 90 90 91 # Device Filter 91 # Device Filter 92 # show only devs whose name/driver includes on 92 # show only devs whose name/driver includes one of these strings 93 # devicefilter: _cpu_up,_cpu_down,i915,usb 93 # devicefilter: _cpu_up,_cpu_down,i915,usb
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.