]> git.baikalelectronics.ru Git - kernel.git/commit
PM: domains: enable domain idle state accounting
authorLina Iyer <ilina@codeaurora.org>
Thu, 15 Oct 2020 20:47:22 +0000 (14:47 -0600)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 16 Oct 2020 15:53:22 +0000 (17:53 +0200)
commit63d0ed86b770ff7f29e7749bd653ca5eb5976a1a
treec696c33f38bfb7145162c2cc211e77467eefdd76
parent04d7b96bd365c0eee56118d2119ed5b4a8cc89b3
PM: domains: enable domain idle state accounting

To enable better debug of PM domains, keep a track of successful
and failing attempts to enter each domain idle state.

This statistics are exported in debugfs when reading the
idle_states node associated with each PM domain.

Signed-off-by: Lina Iyer <ilina@codeaurora.org>
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/domain.c
include/linux/pm_domain.h