diff options
author | Zhang Rui <[email protected]> | 2023-10-20 09:45:21 +0800 |
---|---|---|
committer | Zhang Rui <[email protected]> | 2023-10-24 13:37:46 +0800 |
commit | 8c3dd2c9e54273922ea71b2a4c0e77fc624c396b (patch) | |
tree | a37c467365d4d86d102f14923849b495a34d9b88 /scripts/generate_rust_analyzer.py | |
parent | c25ef0e5d9d7d5fb9e1679286fc7a11e70f16c70 (diff) |
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 <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions