summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorKaushlendra Kumar <kaushlendra.kumar@intel.com>2025-12-01 17:47:45 +0530
committerShuah Khan <skhan@linuxfoundation.org>2025-12-15 12:33:28 -0700
commitf9bd3762cf1bd0c2465f2e6121b340883471d1bf (patch)
tree9a4e92dbada29aa7763fd6d29f3966537807e58a /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parent1b9aaf36b7b40235e5a529c15848c3d866362207 (diff)
tools/power cpupower: Reset errno before strtoull()
cpuidle_state_get_one_value() never cleared errno before calling strtoull(), so a prior ERANGE caused every cpuidle counter read to return zero. Reset errno to 0 before the conversion so each sysfs read is evaluated independently. Link: https://lore.kernel.org/r/20251201121745.3776703-1-kaushlendra.kumar@intel.com Signed-off-by: Kaushlendra Kumar <kaushlendra.kumar@intel.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions