diff options
author | Lina Iyer <ilina@codeaurora.org> | 2020-09-22 12:34:16 -0600 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-09-23 14:10:31 +0200 |
commit | f49735f4978f479b0de4f50ab217d5a56bc83c55 (patch) | |
tree | ff16650624327711ecff8d9a6b2b885585dd9245 /kernel/cpu.c | |
parent | 70c179b49870929ca183421935415622d30875b5 (diff) |
cpuidle: record state entry rejection statistics
CPUs may fail to enter the chosen idle state if there was a
pending interrupt, causing the cpuidle driver to return an error
value.
Record that and export it via sysfs along with the other idle state
statistics.
This could prove useful in understanding behavior of the governor
and the system during usecases that involve multiple CPUs.
Signed-off-by: Lina Iyer <ilina@codeaurora.org>
[ rjw: Changelog and documentation edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel/cpu.c')
0 files changed, 0 insertions, 0 deletions