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