[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <173920222697.826592.3726270716809214055.stgit@devnote2>
Date: Tue, 11 Feb 2025 00:43:47 +0900
From: "Masami Hiramatsu (Google)" <mhiramat@...nel.org>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: Masami Hiramatsu <mhiramat@...nel.org>,
linux-kernel@...r.kernel.org,
linux-trace-kernel@...r.kernel.org,
Mark Rutland <mark.rutland@....com>,
Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: [RFC PATCH v2 0/3] tracing: Improve persistent ring buffer
Hi,
Here is the 2nd version of the patch and additional improvement for ring
buffer on reseved memory. This depends on the series of "ring-buffer/tracing:
Save module information in persistent memory" here;
https://lore.kernel.org/all/20250205225031.799739376@goodmis.org/
In v2, I removed my first 2 patches, and fixes the 3rd patch. It also add
module LRU override feature which replaces the oldest removed module if
the module table is full.
I also added 2 patches to release the memory of persistent ring buffer
if user does not need it anymore. Currently persistent ring buffer has
to be enabled by kernel cmdline, user can not remove it without
changing the cmdline and rebooting. This feature allows user to remove
persistent ring buffer and release the memory without rebooting. Thus
user can set it up by default and remove it if it is not used anymore.
Thank you,
---
Masami Hiramatsu (Google) (3):
tracing: Show last module text symbols in the stacktrace
mm/memblock: Add reserved memory release function
tracing: Freeable reserved ring buffer
include/linux/mm.h | 1
kernel/trace/trace.c | 190 ++++++++++++++++++++++++++++++++++++++++---
kernel/trace/trace.h | 5 +
kernel/trace/trace_output.c | 3 -
mm/memblock.c | 72 ++++++++++++++--
5 files changed, 244 insertions(+), 27 deletions(-)
--
Masami Hiramatsu (Google) <mhiramat@...nel.org>
Powered by blists - more mailing lists