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