cpuidle: sysfs: Export target residency information
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 17 Mar 2014 11:17:30 +0000 (12:17 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 8 Apr 2014 10:37:05 +0000 (12:37 +0200)
commit9bc0482feae8763447746c89fd971704c819b52e
treecd6481ed20159d0dd8d21dcfba7a08ac3f04a880
parent70f6c087573eeb406252ff8d98f511eb5f71496e
cpuidle: sysfs: Export target residency information

From user space, there is no way to know the target residency for each idle
state. If we want to write tools to measure the accuracy of the idle state
selection from the governor, we need this info.

As the exit latency is exported through sysfs, exporting the target residency
in the same place makes sense.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpuidle/sysfs.c