diff options
| author | Shilpasri G Bhat <[email protected]> | 2016-03-22 13:27:09 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2016-03-22 22:11:18 +0000 |
| commit | 1b0289848d5dcea74a6e5115d6c9892b0dbe9c8f (patch) | |
| tree | 9c5e57f419938d5acc48ad5c63d275d07e20774d /net/switchdev/switchdev.c | |
| parent | cpufreq: acpi-cpufreq: make Intel/AMD MSR access, io port access static (diff) | |
| download | kernel-1b0289848d5dcea74a6e5115d6c9892b0dbe9c8f.tar.gz kernel-1b0289848d5dcea74a6e5115d6c9892b0dbe9c8f.zip | |
cpufreq: powernv: Add sysfs attributes to show throttle stats
Create sysfs attributes to export throttle information in
/sys/devices/system/cpu/cpuX/cpufreq/throttle_stats directory. The
newly added sysfs files are as follows:
1)/sys/devices/system/cpu/cpuX/cpufreq/throttle_stats/turbo_stat
2)/sys/devices/system/cpu/cpuX/cpufreq/throttle_stats/sub-turbo_stat
3)/sys/devices/system/cpu/cpuX/cpufreq/throttle_stats/unthrottle
4)/sys/devices/system/cpu/cpuX/cpufreq/throttle_stats/powercap
5)/sys/devices/system/cpu/cpuX/cpufreq/throttle_stats/overtemp
6)/sys/devices/system/cpu/cpuX/cpufreq/throttle_stats/supply_fault
7)/sys/devices/system/cpu/cpuX/cpufreq/throttle_stats/overcurrent
8)/sys/devices/system/cpu/cpuX/cpufreq/throttle_stats/occ_reset
Detailed explanation of each attribute is added to
Documentation/ABI/testing/sysfs-devices-system-cpu
Signed-off-by: Shilpasri G Bhat <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
