diff options
author | Steven Rostedt <rostedt@goodmis.org> | 2025-04-01 19:45:25 +0300 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2025-04-02 16:51:25 +0300 |
commit | 2c9ee74a6d6166d0f31f00841cde16a2915fffcb (patch) | |
tree | ccfb3582ff24516822997961f2d5f64ab03ceb02 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | b81ff11c21af688fc8435aad1e5c1463beff8c2d (diff) | |
download | linux-2c9ee74a6d6166d0f31f00841cde16a2915fffcb.tar.xz |
tracing: Free module_delta on freeing of persistent ring buffer
If a persistent ring buffer is created, a "module_delta" array is also
allocated to hold the module deltas of loaded modules that match modules
in the scratch area. If this buffer gets freed, the module_delta array is
not freed and causes a memory leak.
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Link: https://lore.kernel.org/20250401124525.1f9ac02a@gandalf.local.home
Fixes: 35a380ddbc65 ("tracing: Show last module text symbols in the stacktrace")
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions