power: Add OS Power Management debug hooks

Add the necessary PM hooks like Low Power state entry
count and residencies for logging and debugging purposes.

Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
This commit is contained in:
Ramakrishna Pallala 2018-10-24 13:54:20 +05:30 committed by Anas Nashif
commit 359341203f
3 changed files with 64 additions and 0 deletions

View file

@ -4,5 +4,10 @@ menu "OS Power Management"
source "subsys/power/policy/Kconfig"
config PM_CONTROL_OS_DEBUG
bool "Enable OS Power Management debug hooks"
help
Enable OS Power Management debugging hooks.
endmenu
endif # PM_CONTROL_OS