summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2026-05-06 10:00:00 -0400
committerLen Brown <len.brown@intel.com>2026-10-03 14:49:30 -0400
commit0e88ce4bba0944cc5dde1998796c085f78639791 (patch)
tree9b7e095fa453a0ec223b1f1fdeb1d3ddf8b822d4 /tools/perf/scripts/python
parente6362acc3e89275fd9eb4152c6f01ac0684e1052 (diff)
downloadlinux-next-0e88ce4bba0944cc5dde1998796c085f78639791.tar.gz
linux-next-0e88ce4bba0944cc5dde1998796c085f78639791.zip
x86_energy_perf_policy: Cleanup strtol() error checking
Replace atoi() with strtol() and proper error checking when parsing the --hwp-use-pkg command-line argument value, and other spots. Also add explicit check that value is in valid range [0, 1]. Assisted-by: GitHub-Copilot:Claude-Sonnet-4.6 Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions