suspend-callgraph.cfg 2.5 KB

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