diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2018-05-28 16:40:11 +0200 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2018-06-18 18:52:12 +0200 |
commit | 88fc4fb670cee7cab0edc1e6978b04eb663336c6 (patch) | |
tree | ef0557a55a7b7e9c43ca78c4b7769dc1ebb53a87 /include/linux/cpuidle.h | |
parent | 9175aff5c459656eb6e1cbef09033d1318dc4363 (diff) |
Add debugfs for cpuidlelkftandroid-hikey-linaro-4.14-idle-loop
This gives debugfs information for cpuidle
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'include/linux/cpuidle.h')
-rw-r--r-- | include/linux/cpuidle.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/cpuidle.h b/include/linux/cpuidle.h index 113a14833ad3..fd302d79847b 100644 --- a/include/linux/cpuidle.h +++ b/include/linux/cpuidle.h @@ -72,6 +72,7 @@ struct cpuidle_state { struct cpuidle_device_kobj; struct cpuidle_state_kobj; struct cpuidle_driver_kobj; +struct cpuidle_debugfs_stats; struct cpuidle_device { unsigned int registered:1; @@ -90,6 +91,10 @@ struct cpuidle_device { cpumask_t coupled_cpus; struct cpuidle_coupled *coupled; #endif +#ifdef CONFIG_CPU_IDLE_DEBUGFS + struct dentry *debug; + struct cpuidle_debugfs_stats *stats; +#endif }; DECLARE_PER_CPU(struct cpuidle_device *, cpuidle_devices); |