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