Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

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