162306a36Sopenharmony_ci#
262306a36Sopenharmony_ci# Full Callgraph for S3 (Suspend to Mem) test
362306a36Sopenharmony_ci#
462306a36Sopenharmony_ci# This is the configuration file for sleepgraph. It contains
562306a36Sopenharmony_ci# all the tool arguments so that they don't have to be given on the
662306a36Sopenharmony_ci# command line. It also includes advanced settings for functions
762306a36Sopenharmony_ci# and kprobes. It is run like this
862306a36Sopenharmony_ci#
962306a36Sopenharmony_ci#    sudo ./sleepgraph.py -config config/suspend.cfg
1062306a36Sopenharmony_ci#
1162306a36Sopenharmony_ci# NOTE: the output of this test is very large (> 30MB)
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_ci[Settings]
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ci# ---- General Options ----
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ci# Verbosity
1862306a36Sopenharmony_ci# print verbose messages (default: false)
1962306a36Sopenharmony_civerbose: false
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_ci# Suspend Mode
2262306a36Sopenharmony_ci# e.g. standby, mem, freeze, disk (default: mem)
2362306a36Sopenharmony_cimode: mem
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ci# Output Directory Format
2662306a36Sopenharmony_ci# output folder for html, ftrace, and dmesg. Use {date} and {time} for current values
2762306a36Sopenharmony_cioutput-dir: suspend-{hostname}-{date}-{time}-cg
2862306a36Sopenharmony_ci
2962306a36Sopenharmony_ci# Automatic Wakeup
3062306a36Sopenharmony_ci# Use rtcwake to autoresume after X seconds, or off to disable (default: 15)
3162306a36Sopenharmony_cirtcwake: 15
3262306a36Sopenharmony_ci
3362306a36Sopenharmony_ci# Add Logs
3462306a36Sopenharmony_ci# add the dmesg and ftrace log to the html output (default: false)
3562306a36Sopenharmony_ciaddlogs: false
3662306a36Sopenharmony_ci
3762306a36Sopenharmony_ci# Suspend/Resume Gap
3862306a36Sopenharmony_ci# insert a small visible gap between suspend and resume on the timeline (default: false)
3962306a36Sopenharmony_cisrgap: false
4062306a36Sopenharmony_ci
4162306a36Sopenharmony_ci# ---- Advanced Options ----
4262306a36Sopenharmony_ci
4362306a36Sopenharmony_ci# Command to execute in lieu of suspend (default: "")
4462306a36Sopenharmony_ci# command: echo mem > /sys/power/state
4562306a36Sopenharmony_ci
4662306a36Sopenharmony_ci# Display user processes
4762306a36Sopenharmony_ci# graph user processes and cpu usage in the timeline (default: false)
4862306a36Sopenharmony_ciproc: false
4962306a36Sopenharmony_ci
5062306a36Sopenharmony_ci# Display function calls
5162306a36Sopenharmony_ci# graph source functions in the timeline (default: false)
5262306a36Sopenharmony_cidev: false
5362306a36Sopenharmony_ci
5462306a36Sopenharmony_ci# Back to Back Suspend/Resume
5562306a36Sopenharmony_ci# Run two suspend/resumes back to back (default: false)
5662306a36Sopenharmony_cix2: false
5762306a36Sopenharmony_ci
5862306a36Sopenharmony_ci# Back to Back Suspend Delay
5962306a36Sopenharmony_ci# Time delay between the two test runs in ms (default: 0 ms)
6062306a36Sopenharmony_cix2delay: 0
6162306a36Sopenharmony_ci
6262306a36Sopenharmony_ci# Pre Suspend Delay
6362306a36Sopenharmony_ci# Include an N ms delay before (1st) suspend (default: 0 ms)
6462306a36Sopenharmony_cipredelay: 0
6562306a36Sopenharmony_ci
6662306a36Sopenharmony_ci# Post Resume Delay
6762306a36Sopenharmony_ci# Include an N ms delay after (last) resume (default: 0 ms)
6862306a36Sopenharmony_cipostdelay: 0
6962306a36Sopenharmony_ci
7062306a36Sopenharmony_ci# Minimum Device Length
7162306a36Sopenharmony_ci# graph only devices longer than min in the timeline (default: 0.001 ms)
7262306a36Sopenharmony_cimindev: 0.001
7362306a36Sopenharmony_ci
7462306a36Sopenharmony_ci# ---- Debug Options ----
7562306a36Sopenharmony_ci
7662306a36Sopenharmony_ci# Callgraph
7762306a36Sopenharmony_ci# gather detailed ftrace callgraph data on all timeline events (default: false)
7862306a36Sopenharmony_cicallgraph: true
7962306a36Sopenharmony_ci
8062306a36Sopenharmony_ci# Max graph depth
8162306a36Sopenharmony_ci# limit the callgraph trace to this depth (default: 0 = all)
8262306a36Sopenharmony_cimaxdepth: 5
8362306a36Sopenharmony_ci
8462306a36Sopenharmony_ci# Expand Callgraph
8562306a36Sopenharmony_ci# pre-expand the callgraph data in the html output (default: disabled)
8662306a36Sopenharmony_ciexpandcg: false
8762306a36Sopenharmony_ci
8862306a36Sopenharmony_ci# Minimum Callgraph Length
8962306a36Sopenharmony_ci# provide callgraph data for blocks longer than min (default: 0.001 ms)
9062306a36Sopenharmony_cimincg: 1
9162306a36Sopenharmony_ci
9262306a36Sopenharmony_ci# Timestamp Precision
9362306a36Sopenharmony_ci# Number of significant digits in timestamps (0:S, [3:ms], 6:us)
9462306a36Sopenharmony_citimeprec: 6
9562306a36Sopenharmony_ci
9662306a36Sopenharmony_ci# Device Filter
9762306a36Sopenharmony_ci# show only devs whose name/driver includes one of these strings
9862306a36Sopenharmony_ci# devicefilter: _cpu_up,_cpu_down,i915,usb
99