Linux Trace Kernel
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: LKML <linux-kernel@vger.kernel.org>,
	Linux Trace Kernel <linux-trace-kernel@vger.kernel.org>
Cc: Masami Hiramatsu <mhiramat@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	Mathieu Desnoyers <mathieu.desnoyers@efficios.com>,
	Joel Fernandes <joel@joelfernandes.org>
Subject: Re: [PATCH v2] ring-buffer: Add interrupt information to dump of data sub-buffer
Date: Mon, 18 Dec 2023 18:24:28 -0500	[thread overview]
Message-ID: <20231218182428.4469d2b3@gandalf.local.home> (raw)
In-Reply-To: <20231218170106.46fe24a7@gandalf.local.home>

On Mon, 18 Dec 2023 17:01:06 -0500
Steven Rostedt <rostedt@goodmis.org> wrote:

> @@ -3347,7 +3418,8 @@ static void check_buffer(struct ring_buffer_per_cpu *cpu_buffer,
>  		}
>  	}
>  	if ((full && ts > info->ts) ||
> -	    (!full && ts + info->delta != info->ts)) {
> +	    (!full && ts + info->delta != info->ts) ||
> +		e > 0xfa0) {
>  		/* If another report is happening, ignore this one */
>  		if (atomic_inc_return(&ts_dump) != 1) {
>  			atomic_dec(&ts_dump);

Oops, I accidentally committed the "add this to force a dump" code :-p

Will send a v3 soon.

-- Steve

      reply	other threads:[~2023-12-18 23:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-18 22:01 [PATCH v2] ring-buffer: Add interrupt information to dump of data sub-buffer Steven Rostedt
2023-12-18 23:24 ` Steven Rostedt [this message]

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=20231218182428.4469d2b3@gandalf.local.home \
    --to=rostedt@goodmis.org \
    --cc=joel@joelfernandes.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