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