events-msm-low-power.txt 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. Subsystem Trace Points: msm_low_power
  2. The msm_low_power tracing system captures the events during the entry
  3. and exit of various low power modes like power collapse, standalone
  4. power collapse, retention and wfi. The tracing system adds the following
  5. events to capture the state of the low power mode.
  6. 1) msm_pm_enter
  7. ===================
  8. msm_pm_enter: cpu: %u latency: %uus sleep: %uus
  9. msm_pm_enter_pc: cpu: %u latency: %uus sleep: %uus wake_up: %u
  10. msm_pm_enter_ret: cpu: %u latency: %uus sleep: %uus wake_up: %u
  11. msm_pm_enter_spc: cpu: %u latency: %uus sleep: %uus wake_up: %u
  12. msm_pm_enter_wfi: cpu: %u latency: %uus sleep: %uus wake_up: %u
  13. The event captures various parameters during the entry into low power
  14. modes.
  15. The 'cpu' parameter represents the cpu on which the low power mode is
  16. chosen.
  17. The 'latency_us' parameter represents the system latency at the time of
  18. choosing the low power mode.
  19. The 'sleep_us' parameter tells the maximum amount of time the kernel can
  20. sleep in this low power mode.
  21. The 'wake_up' parameter tells if there was any immediate wakeup required
  22. before entering low power mode.
  23. 2) msm_pm_exit
  24. =================
  25. msm_pm_exit: cpu:%u success:%d
  26. msm_pm_exit_pc: cpu:%u success:%d
  27. msm_pm_exit_ret: cpu:%u success:%d
  28. msm_pm_exit_spc: cpu:%u success:%d
  29. msm_pm_exit_wfi: cpu:%u success:%d
  30. The event captures parameters during the exit of the low power modes.
  31. The 'cpu' parameter represents the cpu on which the low power mode is chosen.
  32. The 'success' parameter shows the state of power collapse/standalone power
  33. collapse. It will be set if power collapse/standalone power collapse were
  34. successful. For the rest of the low power modes it is set to one.
  35. 3) lpm_resources
  36. =================
  37. lpm_resources: name:%s sleep_value:%d
  38. This event captures parameters for each of the lpm resources.
  39. The 'name' parameter represents the name of the lpm resource and it can hold
  40. l2, pxo, vdd mem, vdd dig depending on the resource chosen during power
  41. collapse.
  42. The 'sleep_value' parameter corresponds to the sleep value set for the resource.