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