suspend-dev.cfg 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. #
  2. # Dev S3 (Suspend to Mem) 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/suspend-dev.cfg
  10. #
  11. [Settings]
  12. # ---- General Options ----
  13. # Verbosity
  14. # print verbose messages (default: false)
  15. verbose: false
  16. # Suspend Mode
  17. # e.g. standby, mem, freeze, disk (default: mem)
  18. mode: mem
  19. # Output Directory Format
  20. # output folder for html, ftrace, and dmesg. Use {date} and {time} for current values
  21. output-dir: suspend-{hostname}-{date}-{time}-dev
  22. # Automatic Wakeup
  23. # Use rtcwake to autoresume after X seconds, or off to disable (default: 15)
  24. rtcwake: 15
  25. # Add Logs
  26. # add the dmesg and ftrace log to the html output (default: false)
  27. addlogs: false
  28. # Suspend/Resume Gap
  29. # insert a small visible gap between suspend and resume on the timeline (default: false)
  30. srgap: false
  31. # ---- Advanced Options ----
  32. # Command to execute in lieu of suspend (default: "")
  33. # command: echo mem > /sys/power/state
  34. # Display user processes
  35. # graph user processes and cpu usage in the timeline (default: false)
  36. proc: false
  37. # Display function calls
  38. # graph source functions in the timeline (default: false)
  39. dev: true
  40. # Back to Back Suspend/Resume
  41. # Run two suspend/resumes back to back (default: false)
  42. x2: false
  43. # Back to Back Suspend Delay
  44. # Time delay between the two test runs in ms (default: 0 ms)
  45. x2delay: 0
  46. # Pre Suspend Delay
  47. # Include an N ms delay before (1st) suspend (default: 0 ms)
  48. predelay: 0
  49. # Post Resume Delay
  50. # Include an N ms delay after (last) resume (default: 0 ms)
  51. postdelay: 0
  52. # Minimum Device Length
  53. # graph only devices longer than min in the timeline (default: 0.001 ms)
  54. mindev: 1
  55. # ---- Debug Options ----
  56. # Callgraph
  57. # gather detailed ftrace callgraph data on all timeline events (default: false)
  58. callgraph: false
  59. # Expand Callgraph
  60. # pre-expand the callgraph data in the html output (default: disabled)
  61. expandcg: false
  62. # Minimum Callgraph Length
  63. # provide callgraph data for blocks longer than min (default: 0.001 ms)
  64. mincg: 1
  65. # Timestamp Precision
  66. # Number of significant digits in timestamps (0:S, [3:ms], 6:us)
  67. timeprec: 3
  68. # Device Filter
  69. # show only devs whose name/driver includes one of these strings
  70. # devicefilter: _cpu_up,_cpu_down,i915,usb