Back to home page

OSCL-LXR

 
 

    


0001 #
0002 # Full Callgraph for S2 (Freeze) test
0003 #
0004 # This is the configuration file for sleepgraph. It contains
0005 # all the tool arguments so that they don't have to be given on the
0006 # command line. It also includes advanced settings for functions
0007 # and kprobes. It is run like this
0008 #
0009 #    sudo ./sleepgraph.py -config config/freeze-callgraph.cfg
0010 #
0011 # NOTE: the output of this test is very large (> 30MB)
0012 
0013 [Settings]
0014 
0015 # ---- General Options ----
0016 
0017 # Verbosity
0018 # print verbose messages (default: false)
0019 verbose: false
0020 
0021 # Suspend Mode
0022 # e.g. standby, mem, freeze, disk (default: mem)
0023 mode: freeze
0024 
0025 # Output Directory Format
0026 # output folder for html, ftrace, and dmesg. Use {date} and {time} for current values
0027 output-dir: freeze-{hostname}-{date}-{time}-cg
0028 
0029 # Automatic Wakeup
0030 # Use rtcwake to autoresume after X seconds, or off to disable (default: 15)
0031 rtcwake: 15
0032 
0033 # Add Logs
0034 # add the dmesg and ftrace log to the html output (default: false)
0035 addlogs: false
0036 
0037 # Suspend/Resume Gap
0038 # insert a small visible gap between suspend and resume on the timeline (default: false)
0039 srgap: false
0040 
0041 # ---- Advanced Options ----
0042 
0043 # Command to execute in lieu of freeze (default: "")
0044 # command: echo freeze > /sys/power/state
0045 
0046 # Display user processes
0047 # graph user processes and cpu usage in the timeline (default: false)
0048 proc: false
0049 
0050 # Display function calls
0051 # graph source functions in the timeline (default: false)
0052 dev: false
0053 
0054 # Back to Back Suspend/Resume
0055 # Run two suspend/resumes back to back (default: false)
0056 x2: false
0057 
0058 # Back to Back Suspend Delay
0059 # Time delay between the two test runs in ms (default: 0 ms)
0060 x2delay: 0
0061 
0062 # Pre Suspend Delay
0063 # Include an N ms delay before (1st) suspend (default: 0 ms)
0064 predelay: 0
0065 
0066 # Post Resume Delay
0067 # Include an N ms delay after (last) resume (default: 0 ms)
0068 postdelay: 0
0069 
0070 # Minimum Device Length
0071 # graph only devices longer than min in the timeline (default: 0.001 ms)
0072 mindev: 1
0073 
0074 # ---- Debug Options ----
0075 
0076 # Callgraph
0077 # gather detailed ftrace callgraph data on all timeline events (default: false)
0078 callgraph: true
0079 
0080 # Expand Callgraph
0081 # pre-expand the callgraph data in the html output (default: disabled)
0082 expandcg: false
0083 
0084 # Minimum Callgraph Length
0085 # provide callgraph data for blocks longer than min (default: 0.001 ms)
0086 mincg: 1
0087 
0088 # Timestamp Precision
0089 # Number of significant digits in timestamps (0:S, [3:ms], 6:us)
0090 timeprec: 6
0091 
0092 # Device Filter
0093 # show only devs whose name/driver includes one of these strings
0094 # devicefilter: _cpu_up,_cpu_down,i915,usb