diff options
author | Zhang Rui <rui.zhang@intel.com> | 2023-10-20 04:45:21 +0300 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2023-10-24 08:37:46 +0300 |
commit | 8c3dd2c9e54273922ea71b2a4c0e77fc624c396b (patch) | |
tree | a37c467365d4d86d102f14923849b495a34d9b88 /drivers/clk/clk-si570.c | |
parent | c25ef0e5d9d7d5fb9e1679286fc7a11e70f16c70 (diff) | |
download | linux-8c3dd2c9e54273922ea71b2a4c0e77fc624c396b.tar.xz |
tools/power/turbostat: Abstrct function for parsing cpu string
Abstract parse_cpu_str() which can update any specified cpu_set by a
given cpu string. This can be used to handle further CPU limitations
from other sources like cgroup.
The cpu string parsing code is also enhanced to handle the strings that
have an extra '\n' before string terminator.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/clk/clk-si570.c')
0 files changed, 0 insertions, 0 deletions