18c2ecf20Sopenharmony_ci# 28c2ecf20Sopenharmony_ci# Generic S1 (Standby) test 38c2ecf20Sopenharmony_ci# 48c2ecf20Sopenharmony_ci# This is the configuration file for sleepgraph. It contains 58c2ecf20Sopenharmony_ci# all the tool arguments so that they don't have to be given on the 68c2ecf20Sopenharmony_ci# command line. It also includes advanced settings for functions 78c2ecf20Sopenharmony_ci# and kprobes. It is run like this 88c2ecf20Sopenharmony_ci# 98c2ecf20Sopenharmony_ci# sudo ./sleepgraph.py -config config/standby.cfg 108c2ecf20Sopenharmony_ci# 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci[Settings] 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci# ---- General Options ---- 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ci# Verbosity 178c2ecf20Sopenharmony_ci# print verbose messages (default: false) 188c2ecf20Sopenharmony_civerbose: false 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ci# Suspend Mode 218c2ecf20Sopenharmony_ci# e.g. standby, mem, freeze, disk (default: mem) 228c2ecf20Sopenharmony_cimode: standby 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ci# Output Directory Format 258c2ecf20Sopenharmony_ci# output folder for html, ftrace, and dmesg. Use {date} and {time} for current values 268c2ecf20Sopenharmony_cioutput-dir: standby-{hostname}-{date}-{time} 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ci# Automatic Wakeup 298c2ecf20Sopenharmony_ci# Use rtcwake to autoresume after X seconds, or off to disable (default: 15) 308c2ecf20Sopenharmony_cirtcwake: 15 318c2ecf20Sopenharmony_ci 328c2ecf20Sopenharmony_ci# Add Logs 338c2ecf20Sopenharmony_ci# add the dmesg and ftrace log to the html output (default: false) 348c2ecf20Sopenharmony_ciaddlogs: false 358c2ecf20Sopenharmony_ci 368c2ecf20Sopenharmony_ci# Suspend/Resume Gap 378c2ecf20Sopenharmony_ci# insert a small visible gap between suspend and resume on the timeline (default: false) 388c2ecf20Sopenharmony_cisrgap: false 398c2ecf20Sopenharmony_ci 408c2ecf20Sopenharmony_ci# ---- Advanced Options ---- 418c2ecf20Sopenharmony_ci 428c2ecf20Sopenharmony_ci# Command to execute in lieu of standby (default: "") 438c2ecf20Sopenharmony_ci# command: echo standby > /sys/power/state 448c2ecf20Sopenharmony_ci 458c2ecf20Sopenharmony_ci# Display user processes 468c2ecf20Sopenharmony_ci# graph user processes and cpu usage in the timeline (default: false) 478c2ecf20Sopenharmony_ciproc: false 488c2ecf20Sopenharmony_ci 498c2ecf20Sopenharmony_ci# Display function calls 508c2ecf20Sopenharmony_ci# graph source functions in the timeline (default: false) 518c2ecf20Sopenharmony_cidev: false 528c2ecf20Sopenharmony_ci 538c2ecf20Sopenharmony_ci# Back to Back Suspend/Resume 548c2ecf20Sopenharmony_ci# Run two suspend/resumes back to back (default: false) 558c2ecf20Sopenharmony_cix2: false 568c2ecf20Sopenharmony_ci 578c2ecf20Sopenharmony_ci# Back to Back Suspend Delay 588c2ecf20Sopenharmony_ci# Time delay between the two test runs in ms (default: 0 ms) 598c2ecf20Sopenharmony_cix2delay: 0 608c2ecf20Sopenharmony_ci 618c2ecf20Sopenharmony_ci# Pre Suspend Delay 628c2ecf20Sopenharmony_ci# Include an N ms delay before (1st) suspend (default: 0 ms) 638c2ecf20Sopenharmony_cipredelay: 0 648c2ecf20Sopenharmony_ci 658c2ecf20Sopenharmony_ci# Post Resume Delay 668c2ecf20Sopenharmony_ci# Include an N ms delay after (last) resume (default: 0 ms) 678c2ecf20Sopenharmony_cipostdelay: 0 688c2ecf20Sopenharmony_ci 698c2ecf20Sopenharmony_ci# Minimum Device Length 708c2ecf20Sopenharmony_ci# graph only devices longer than min in the timeline (default: 0.001 ms) 718c2ecf20Sopenharmony_cimindev: 0.001 728c2ecf20Sopenharmony_ci 738c2ecf20Sopenharmony_ci# ---- Debug Options ---- 748c2ecf20Sopenharmony_ci 758c2ecf20Sopenharmony_ci# Callgraph 768c2ecf20Sopenharmony_ci# gather detailed ftrace callgraph data on all timeline events (default: false) 778c2ecf20Sopenharmony_cicallgraph: false 788c2ecf20Sopenharmony_ci 798c2ecf20Sopenharmony_ci# Expand Callgraph 808c2ecf20Sopenharmony_ci# pre-expand the callgraph data in the html output (default: disabled) 818c2ecf20Sopenharmony_ciexpandcg: false 828c2ecf20Sopenharmony_ci 838c2ecf20Sopenharmony_ci# Minimum Callgraph Length 848c2ecf20Sopenharmony_ci# provide callgraph data for blocks longer than min (default: 0.001 ms) 858c2ecf20Sopenharmony_cimincg: 1 868c2ecf20Sopenharmony_ci 878c2ecf20Sopenharmony_ci# Timestamp Precision 888c2ecf20Sopenharmony_ci# Number of significant digits in timestamps (0:S, [3:ms], 6:us) 898c2ecf20Sopenharmony_citimeprec: 3 908c2ecf20Sopenharmony_ci 918c2ecf20Sopenharmony_ci# Device Filter 928c2ecf20Sopenharmony_ci# show only devs whose name/driver includes one of these strings 938c2ecf20Sopenharmony_ci# devicefilter: _cpu_up,_cpu_down,i915,usb 94