diff options
| author | Ian Rogers <irogers@google.com> | 2025-03-05 22:19:31 +0300 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2025-03-07 02:59:41 +0300 |
| commit | 2c744f38da7aeae77f9fc220a538fe8ca88f6db4 (patch) | |
| tree | 4dcf02a5add793139e9661131b8aff1b4fbf298a /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | 41453107bfc3008302c2b98cc01da55890235b77 (diff) | |
| download | linux-2c744f38da7aeae77f9fc220a538fe8ca88f6db4.tar.xz | |
perf test: Fix leak in "Synthesize attr update" test
The own_cpus map variable may be non-NULL and hold a reference, in
particular on hybrid machines. Do a put before overwriting the
variable to avoid a memory leak.
Signed-off-by: Ian Rogers <irogers@google.com>
Reviewed-by: James Clark <james.clark@linaro.org>
Link: https://lore.kernel.org/r/20250305191931.604764-1-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
