summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorZhang Rui <rui.zhang@intel.com>2023-10-20 04:45:21 +0300
committerZhang Rui <rui.zhang@intel.com>2023-10-24 08:37:46 +0300
commit8c3dd2c9e54273922ea71b2a4c0e77fc624c396b (patch)
treea37c467365d4d86d102f14923849b495a34d9b88 /.gitignore
parentc25ef0e5d9d7d5fb9e1679286fc7a11e70f16c70 (diff)
downloadlinux-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 '.gitignore')
0 files changed, 0 insertions, 0 deletions