99 lines · plain
1#2# Full Callgraph for S3 (Suspend to Mem) test3#4# This is the configuration file for sleepgraph. It contains5# all the tool arguments so that they don't have to be given on the6# command line. It also includes advanced settings for functions7# and kprobes. It is run like this8#9# sudo ./sleepgraph.py -config config/suspend.cfg10#11# NOTE: the output of this test is very large (> 30MB)12 13[Settings]14 15# ---- General Options ----16 17# Verbosity18# print verbose messages (default: false)19verbose: false20 21# Suspend Mode22# e.g. standby, mem, freeze, disk (default: mem)23mode: mem24 25# Output Directory Format26# output folder for html, ftrace, and dmesg. Use {date} and {time} for current values27output-dir: suspend-{hostname}-{date}-{time}-cg28 29# Automatic Wakeup30# Use rtcwake to autoresume after X seconds, or off to disable (default: 15)31rtcwake: 1532 33# Add Logs34# add the dmesg and ftrace log to the html output (default: false)35addlogs: false36 37# Suspend/Resume Gap38# insert a small visible gap between suspend and resume on the timeline (default: false)39srgap: false40 41# ---- Advanced Options ----42 43# Command to execute in lieu of suspend (default: "")44# command: echo mem > /sys/power/state45 46# Display user processes47# graph user processes and cpu usage in the timeline (default: false)48proc: false49 50# Display function calls51# graph source functions in the timeline (default: false)52dev: false53 54# Back to Back Suspend/Resume55# Run two suspend/resumes back to back (default: false)56x2: false57 58# Back to Back Suspend Delay59# Time delay between the two test runs in ms (default: 0 ms)60x2delay: 061 62# Pre Suspend Delay63# Include an N ms delay before (1st) suspend (default: 0 ms)64predelay: 065 66# Post Resume Delay67# Include an N ms delay after (last) resume (default: 0 ms)68postdelay: 069 70# Minimum Device Length71# graph only devices longer than min in the timeline (default: 0.001 ms)72mindev: 0.00173 74# ---- Debug Options ----75 76# Callgraph77# gather detailed ftrace callgraph data on all timeline events (default: false)78callgraph: true79 80# Max graph depth81# limit the callgraph trace to this depth (default: 0 = all)82maxdepth: 583 84# Expand Callgraph85# pre-expand the callgraph data in the html output (default: disabled)86expandcg: false87 88# Minimum Callgraph Length89# provide callgraph data for blocks longer than min (default: 0.001 ms)90mincg: 191 92# Timestamp Precision93# Number of significant digits in timestamps (0:S, [3:ms], 6:us)94timeprec: 695 96# Device Filter97# show only devs whose name/driver includes one of these strings98# devicefilter: _cpu_up,_cpu_down,i915,usb99