pm: trace pm_device_enable/disable

Trace both pm_device_enable and pm_device_disable.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2021-05-13 11:26:37 -04:00
commit 3b82c388f6
5 changed files with 28 additions and 2 deletions

View file

@ -422,6 +422,10 @@
#define sys_port_trace_pm_device_request_enter(dev, target_state)
#define sys_port_trace_pm_device_request_exit(dev, ret)
#define sys_port_trace_pm_device_enable_enter(dev)
#define sys_port_trace_pm_device_enable_exit(dev)
#define sys_port_trace_pm_device_disable_enter(dev)
#define sys_port_trace_pm_device_disable_exit(dev)
void sys_trace_syscall_enter(void);
void sys_trace_syscall_exit(void);