[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20231211130719.771cb5ed@gandalf.local.home>
Date: Mon, 11 Dec 2023 13:07:19 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: LKML <linux-kernel@...r.kernel.org>,
Linux Trace Kernel <linux-trace-kernel@...r.kernel.org>
Cc: Masami Hiramatsu <mhiramat@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Mathieu Desnoyers <mathieu.desnoyers@...icios.com>
Subject: Re: [PATCH v2] ring-buffer: Add offset of events in dump on
mismatch
On Mon, 11 Dec 2023 13:06:14 -0500
Steven Rostedt <rostedt@...dmis.org> wrote:
>
> case RINGBUF_TYPE_DATA:
> ts += event->time_delta;
> - pr_warn(" [%lld] delta:%d\n", ts, event->time_delta);
> + pr_warn(" 0x%x: [%lld] delta:%d\n",
> + e, ts, event->time_delta);
> break;
>
> default:
> break;
> }
> }
> + pr_warn("expected end:%ld last event actually ended at:%d\n", tail, e);
> }
>
Bah, all offsets were in hex, the above was supposed to be in hex too. I
sent out the wrong version.
Will send a v3 with that update.
-- Steve
Powered by blists - more mailing lists