Back to home page

OSCL-LXR

 
 

    


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