lkml.org 
[lkml]   [2023]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] ring-buffer: Add interrupt information to dump of data sub-buffer
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

\
 
 \ /
  Last update: 2023-12-19 00:24    [W:0.048 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site