]> git.baikalelectronics.ru Git - kernel.git/commit
PM-runtime: add tracepoints for usage_count changes
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Sat, 4 Jan 2020 16:27:57 +0000 (17:27 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 13 Jan 2020 11:28:29 +0000 (12:28 +0100)
commit6d6be120ab792e090ada64fab0a52a90db15f6a5
tree48acc5874c22883b98b22933b5c7a182df269943
parentf1900be5a74dbaa08f19e3aaa9fd854e846d520c
PM-runtime: add tracepoints for usage_count changes

Add tracepoints to remaining places where device's power.usage_count
is changed.

This helps debugging where and why autosuspend is prevented.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/runtime.c
include/trace/events/rpm.h