aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorYannick Cote <[email protected]>2020-06-03 14:20:58 -0400
committerPetr Mladek <[email protected]>2020-06-08 10:55:10 +0200
commit270f7806d3b91b9c71fa8fe66f7dcc2d6587694e (patch)
treebe5f0b12f79c3e150833c3bb3c8f8d409b09ef0d /tools/perf/scripts/python/compaction-times.py
parent76efe6da89d8320e9ba65cebe0b3bcb6e5c29b31 (diff)
selftests/livepatch: fix mem leaks in test-klp-shadow-vars
In some cases, when an error occurs during testing and the main test routine returns, a memory leak occurs via leaving previously registered shadow variables allocated in the kernel as well as shadow_ptr list elements. From now on, in case of error, remove all allocated shadow variables and shadow_ptr struct elements. Signed-off-by: Yannick Cote <[email protected]> Reviewed-by: Petr Mladek <[email protected]> Reviewed-by: Kamalesh Babulal <[email protected]> Acked-by: Miroslav Benes <[email protected]> Acked-by: Joe Lawrence <[email protected]> Signed-off-by: Petr Mladek <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions