OpenCloudOS-Kernel/tools/power/cpupower/lib
Wyes Karny 1ce5ab7c1d cpupower: Add is_valid_path API
Add is_valid_path API to check whether the sysfs file is present or not.

Suggested-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Wyes Karny <wyes.karny@amd.com>
Tested-by: Perry Yuan <Perry.Yuan@amd.com>
Acked-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2023-07-18 16:06:44 -06:00
..
acpi_cppc.c cpupower: Introduce ACPI CPPC library 2022-02-22 18:36:50 -07:00
acpi_cppc.h cpupower: Introduce ACPI CPPC library 2022-02-22 18:36:50 -07:00
cpufreq.c cpupower: Add the function to get the sysfs value from specific table 2022-02-22 18:36:44 -07:00
cpufreq.h cpupower: Add the function to get the sysfs value from specific table 2022-02-22 18:36:44 -07:00
cpuidle.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 166 2019-05-30 11:26:39 -07:00
cpuidle.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
cpupower.c cpupower: Add is_valid_path API 2023-07-18 16:06:44 -06:00
cpupower.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
cpupower_intern.h cpupower: Add is_valid_path API 2023-07-18 16:06:44 -06:00
powercap.c cpupower:Fix resource leaks in sysfs_get_enabled() 2023-05-08 08:11:24 -06:00
powercap.h cpupower: Introduce powercap intel-rapl library and powercap-info command 2022-11-30 16:48:28 -07:00