1*a6fbdbb2STodd E Brandt# 2*a6fbdbb2STodd E Brandt# Full Callgraph for S3 (Suspend to Mem) test 3*a6fbdbb2STodd E Brandt# 4*a6fbdbb2STodd E Brandt# This is the configuration file for sleepgraph. It contains 5*a6fbdbb2STodd E Brandt# all the tool arguments so that they don't have to be given on the 6*a6fbdbb2STodd E Brandt# command line. It also includes advanced settings for functions 7*a6fbdbb2STodd E Brandt# and kprobes. It is run like this 8*a6fbdbb2STodd E Brandt# 9*a6fbdbb2STodd E Brandt# sudo ./sleepgraph.py -config config/suspend.cfg 10*a6fbdbb2STodd E Brandt# 11*a6fbdbb2STodd E Brandt# NOTE: the output of this test is very large (> 30MB) 12*a6fbdbb2STodd E Brandt 13*a6fbdbb2STodd E Brandt[Settings] 14*a6fbdbb2STodd E Brandt 15*a6fbdbb2STodd E Brandt# ---- General Options ---- 16*a6fbdbb2STodd E Brandt 17*a6fbdbb2STodd E Brandt# Verbosity 18*a6fbdbb2STodd E Brandt# print verbose messages (default: false) 19*a6fbdbb2STodd E Brandtverbose: false 20*a6fbdbb2STodd E Brandt 21*a6fbdbb2STodd E Brandt# Suspend Mode 22*a6fbdbb2STodd E Brandt# e.g. standby, mem, freeze, disk (default: mem) 23*a6fbdbb2STodd E Brandtmode: mem 24*a6fbdbb2STodd E Brandt 25*a6fbdbb2STodd E Brandt# Output Directory Format 26*a6fbdbb2STodd E Brandt# output folder for html, ftrace, and dmesg. Use {date} and {time} for current values 27*a6fbdbb2STodd E Brandtoutput-dir: suspend-{hostname}-{date}-{time}-cg 28*a6fbdbb2STodd E Brandt 29*a6fbdbb2STodd E Brandt# Automatic Wakeup 30*a6fbdbb2STodd E Brandt# Use rtcwake to autoresume after X seconds, or off to disable (default: 15) 31*a6fbdbb2STodd E Brandtrtcwake: 15 32*a6fbdbb2STodd E Brandt 33*a6fbdbb2STodd E Brandt# Add Logs 34*a6fbdbb2STodd E Brandt# add the dmesg and ftrace log to the html output (default: false) 35*a6fbdbb2STodd E Brandtaddlogs: false 36*a6fbdbb2STodd E Brandt 37*a6fbdbb2STodd E Brandt# Suspend/Resume Gap 38*a6fbdbb2STodd E Brandt# insert a small visible gap between suspend and resume on the timeline (default: false) 39*a6fbdbb2STodd E Brandtsrgap: false 40*a6fbdbb2STodd E Brandt 41*a6fbdbb2STodd E Brandt# ---- Advanced Options ---- 42*a6fbdbb2STodd E Brandt 43*a6fbdbb2STodd E Brandt# Command to execute in lieu of suspend (default: "") 44*a6fbdbb2STodd E Brandt# command: echo mem > /sys/power/state 45*a6fbdbb2STodd E Brandt 46*a6fbdbb2STodd E Brandt# Display user processes 47*a6fbdbb2STodd E Brandt# graph user processes and cpu usage in the timeline (default: false) 48*a6fbdbb2STodd E Brandtproc: false 49*a6fbdbb2STodd E Brandt 50*a6fbdbb2STodd E Brandt# Display function calls 51*a6fbdbb2STodd E Brandt# graph source functions in the timeline (default: false) 52*a6fbdbb2STodd E Brandtdev: false 53*a6fbdbb2STodd E Brandt 54*a6fbdbb2STodd E Brandt# Back to Back Suspend/Resume 55*a6fbdbb2STodd E Brandt# Run two suspend/resumes back to back (default: false) 56*a6fbdbb2STodd E Brandtx2: false 57*a6fbdbb2STodd E Brandt 58*a6fbdbb2STodd E Brandt# Back to Back Suspend Delay 59*a6fbdbb2STodd E Brandt# Time delay between the two test runs in ms (default: 0 ms) 60*a6fbdbb2STodd E Brandtx2delay: 0 61*a6fbdbb2STodd E Brandt 62*a6fbdbb2STodd E Brandt# Pre Suspend Delay 63*a6fbdbb2STodd E Brandt# Include an N ms delay before (1st) suspend (default: 0 ms) 64*a6fbdbb2STodd E Brandtpredelay: 0 65*a6fbdbb2STodd E Brandt 66*a6fbdbb2STodd E Brandt# Post Resume Delay 67*a6fbdbb2STodd E Brandt# Include an N ms delay after (last) resume (default: 0 ms) 68*a6fbdbb2STodd E Brandtpostdelay: 0 69*a6fbdbb2STodd E Brandt 70*a6fbdbb2STodd E Brandt# Minimum Device Length 71*a6fbdbb2STodd E Brandt# graph only devices longer than min in the timeline (default: 0.001 ms) 72*a6fbdbb2STodd E Brandtmindev: 0.001 73*a6fbdbb2STodd E Brandt 74*a6fbdbb2STodd E Brandt# ---- Debug Options ---- 75*a6fbdbb2STodd E Brandt 76*a6fbdbb2STodd E Brandt# Callgraph 77*a6fbdbb2STodd E Brandt# gather detailed ftrace callgraph data on all timeline events (default: false) 78*a6fbdbb2STodd E Brandtcallgraph: true 79*a6fbdbb2STodd E Brandt 80*a6fbdbb2STodd E Brandt# Max graph depth 81*a6fbdbb2STodd E Brandt# limit the callgraph trace to this depth (default: 0 = all) 82*a6fbdbb2STodd E Brandtmaxdepth: 5 83*a6fbdbb2STodd E Brandt 84*a6fbdbb2STodd E Brandt# Expand Callgraph 85*a6fbdbb2STodd E Brandt# pre-expand the callgraph data in the html output (default: disabled) 86*a6fbdbb2STodd E Brandtexpandcg: false 87*a6fbdbb2STodd E Brandt 88*a6fbdbb2STodd E Brandt# Minimum Callgraph Length 89*a6fbdbb2STodd E Brandt# provide callgraph data for blocks longer than min (default: 0.001 ms) 90*a6fbdbb2STodd E Brandtmincg: 1 91*a6fbdbb2STodd E Brandt 92*a6fbdbb2STodd E Brandt# Timestamp Precision 93*a6fbdbb2STodd E Brandt# Number of significant digits in timestamps (0:S, [3:ms], 6:us) 94*a6fbdbb2STodd E Brandttimeprec: 6 95*a6fbdbb2STodd E Brandt 96*a6fbdbb2STodd E Brandt# Device Filter 97*a6fbdbb2STodd E Brandt# show only devs whose name/driver includes one of these strings 98*a6fbdbb2STodd E Brandt# devicefilter: _cpu_up,_cpu_down,i915,usb 99