summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
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:53:40 -0400
commit80960aeed32617adc6e74c100870e8d889201926 (patch)
treec04e3e4ccb2e658c98123e6a18f3ec61bc8110c0 /tools/perf/scripts/python/bin
parent7d40b95b717358931079116d5ea18ddabc9f9a68 (diff)
downloadlinux-next-80960aeed32617adc6e74c100870e8d889201926.tar.gz
linux-next-80960aeed32617adc6e74c100870e8d889201926.zip
x86_energy_perf_policy: Constify profile name arg
Add const qualifier to the name parameter of platform_profile_name_is() which is read-only. The function never modifies the string argument it receives. Adding const documents the API contract and allows callers to pass string literals directly without compiler warnings. Fixes: 25ff5848c05b ("tools/power x86_energy_perf_policy: Enhances SoC Slider related checks") Assisted-by: GitHub-Copilot:Claude-Sonnet-4.6 Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions