diff options
author | 2024-12-18 13:09:51 -0600 | |
---|---|---|
committer | 2024-12-20 09:12:07 -0700 | |
commit | 3f2eb7606eee37aea630c4b7aa42497bc36ca157 (patch) | |
tree | 00a7009a93df403190dc40d8edffe1ef99013388 /scripts/gdb/linux/utils.py | |
parent | cpupower: Remove spurious return statement (diff) | |
download | wireguard-linux-3f2eb7606eee37aea630c4b7aa42497bc36ca157.tar.xz wireguard-linux-3f2eb7606eee37aea630c4b7aa42497bc36ca157.zip |
cpupower: Add support for parsing 'enabled' or 'disabled' strings from table
When cpufreq_get_sysfs_value_from_table() is passed a table with
kernel strings that report 'enabled' or 'disabled' it always returns 0
because these can't cleanly convert to integers.
Explicitly look for enabled or disabled strings from the kernel to handle
this.
Link: https://lore.kernel.org/r/20241218191144.3440854-3-superm1@kernel.org
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions