Re: [PATCH v2] ring-buffer: Add interrupt information to dump of data sub-buffer

From: Steven Rostedt
Date: Mon Dec 18 2023 - 18:23:42 EST


On Mon, 18 Dec 2023 17:01:06 -0500
Steven Rostedt <rostedt@xxxxxxxxxxx> 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