summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2025-02-15 01:34:23 +0300
committerMario Limonciello <mario.limonciello@amd.com>2025-03-06 22:01:25 +0300
commitc630458c7a4b990742905e312af20a7c3260ca14 (patch)
treed249d90d0a70e7e9a6cb456c6740d9904b8eea11 /tools/perf/scripts/python/check-perf-trace.py
parent2aac38ac06cb751bd3e672a4fb1eb3073f1866ab (diff)
downloadlinux-c630458c7a4b990742905e312af20a7c3260ca14.tar.xz
cpufreq/amd-pstate-ut: Adjust variable scope
In amd_pstate_ut_check_freq() and amd_pstate_ut_check_perf() the cpudata variable is only needed in the scope of the for loop. Move it there. Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com> Reviewed-by: Dhananjay Ugwekar <dhananjay.ugwekar@amd.com> Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions