diff options
author | Dhananjay Ugwekar <dhananjay.ugwekar@amd.com> | 2025-02-05 11:25:22 +0000 |
---|---|---|
committer | Mario Limonciello <mario.limonciello@amd.com> | 2025-02-23 18:54:56 -0600 |
commit | 97a705dc1a3654d8d2e466433a897be202a7f0ac (patch) | |
tree | 647a897b4699585e79b100cf2d722ceb0a61e98b /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 426db24d4db2e4f0d6720aeb7795eafcb9e82640 (diff) |
cpufreq/amd-pstate: Use scope based cleanup for cpufreq_policy refs
There have been instances in past where refcount decrementing is missed
while exiting a function. Use automatic scope based cleanup to avoid
such errors.
Signed-off-by: Dhananjay Ugwekar <dhananjay.ugwekar@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Link: https://lore.kernel.org/r/20250205112523.201101-12-dhananjay.ugwekar@amd.com
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions