From: Steven Rostedt <rostedt@goodmis.org>
To: linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org
Cc: Masami Hiramatsu <mhiramat@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Mathieu Desnoyers <mathieu.desnoyers@efficios.com>,
Andrew Morton <akpm@linux-foundation.org>
Subject: [PATCH v2 0/3] tracing: Keep instance main and snapshot buffers in sync
Date: Tue, 05 Dec 2023 16:52:08 -0500 [thread overview]
Message-ID: <20231205215208.195443981@goodmis.org> (raw)
Fix keeping instance buffers in sync. That is, when the main ring buffer
size is updated, the size of the instance snapshot buffer also needs
to be updated if it is allocated.
Changes since v1: https://lore.kernel.org/all/20231205115223.5256e1a1@gandalf.local.home/
- That was just patch 3 with the change log of patch 1.
That patch just needs to be ignored.
Steven Rostedt (Google) (3):
tracing: Always update snapshot buffer size
tracing: Stop current tracer when resizing buffer
tracing: Disable snapshot buffer when stopping instance tracers
----
kernel/trace/trace.c | 123 ++++++++++++++++++---------------------------------
1 file changed, 42 insertions(+), 81 deletions(-)
next reply other threads:[~2023-12-05 21:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-05 21:52 Steven Rostedt [this message]
2023-12-05 21:52 ` [PATCH v2 1/3] tracing: Always update snapshot buffer size Steven Rostedt
2023-12-05 21:52 ` [PATCH v2 2/3] tracing: Stop current tracer when resizing buffer Steven Rostedt
2023-12-05 21:52 ` [PATCH v2 3/3] tracing: Disable snapshot buffer when stopping instance tracers Steven Rostedt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231205215208.195443981@goodmis.org \
--to=rostedt@goodmis.org \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-trace-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=mathieu.desnoyers@efficios.com \
--cc=mhiramat@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).