summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorNir Lichtman <nir@lichtman.org>2025-02-04 08:47:41 +0300
committerDaniel Thompson <daniel@riscstar.com>2025-03-29 00:10:53 +0300
commita30d4ff8193ef768dbb524824c7aa07c5486a63a (patch)
treea863cdc9c7497579a6645e89ec7d966136581f28 /tools/perf/scripts/python/task-analyzer.py
parent80e54e84911a923c40d7bee33a34c1b4be148d7a (diff)
downloadlinux-a30d4ff8193ef768dbb524824c7aa07c5486a63a.tar.xz
kdb: remove usage of static environment buffer
Problem: The set environment variable logic uses a static "heap" like buffer to store the values of the variables, and they are never freed, on top of that this is redundant since the kernel supplies allocation facilities which are even used also in this file. Solution: Remove the weird static buffer logic and use kmalloc instead, call kfree when overriding an existing variable. Signed-off-by: Nir Lichtman <nir@lichtman.org> Reviewed-by: Douglas Anderson <dianders@chromium.org> Link: https://lore.kernel.org/r/20250204054741.GB1219827@lichtman.org Signed-off-by: Daniel Thompson <daniel@riscstar.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions