Re: [PATCH v2] ring-buffer: Add offset of events in dump on mismatch

2023-12-11 Thread Steven Rostedt
On Mon, 11 Dec 2023 13:06:14 -0500 Steven Rostedt 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", > +

[PATCH v2] ring-buffer: Add offset of events in dump on mismatch

2023-12-11 Thread Steven Rostedt
From: "Steven Rostedt (Google)" On bugs that have the ring buffer timestamp get out of sync, the config CONFIG_RING_BUFFER_VALIDATE_TIME_DELTAS, that checks for it and if it is detected it causes a dump of the bad sub buffer. It shows each event and their timestamp as well as the delta in the

Re: [PATCH v2] ring-buffer: Add offset of events in dump on mismatch

2023-12-08 Thread Google
On Thu, 7 Dec 2023 17:31:08 -0500 Steven Rostedt wrote: > From: "Steven Rostedt (Google)" > > On bugs that have the ring buffer timestamp get out of sync, the config > CONFIG_RING_BUFFER_VALIDATE_TIME_DELTAS, that checks for it and if it is > detected it causes a dump of the bad sub buffer. >

[PATCH v2] ring-buffer: Add offset of events in dump on mismatch

2023-12-07 Thread Steven Rostedt
From: "Steven Rostedt (Google)" On bugs that have the ring buffer timestamp get out of sync, the config CONFIG_RING_BUFFER_VALIDATE_TIME_DELTAS, that checks for it and if it is detected it causes a dump of the bad sub buffer. It shows each event and their timestamp as well as the delta in the