OSDN Git Service

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)
commitd229290689ae0f6eae068ef142de4fd61ab4ba50
tree48acc5874c22883b98b22933b5c7a182df269943
parentb3a987b0264d3ddbb24293ebff10eddfc472f653
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