[PATCH v19 0/7] ring-buffer: Making persistent ring buffers robust

Steven Rostedt rostedt at goodmis.org
Sat May 2 12:23:04 PDT 2026


Hi Masami,

I applied your patches and enabled your ptracingtest code. I noticed
that when there's dropped pages, the trace output is not in order:

 # trace-cmd start -B ptracingtest -e all -v -e '*lock*'
 # taskset -c 5 echo c > /proc/sysrq-trigger

On reboot, I ran:

 # trace-cmd show -B ptracingtest > /tmp/trace.out

Then executed the attached perl program:

  # ./read-ts.pl < /tmp/trace.out

And it errors our:

 30.212495 < 30.213534
           <...>-1048    [005] d....    30.212495: irq_enable: caller=irqentry_exit+0xf5/0x710 parent=0x0

That is, I think the zero timestamps may be messing with the order.

-- Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: read-ts.pl
Type: application/x-perl
Size: 300 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20260502/4ac23898/attachment.pl>


More information about the linux-arm-kernel mailing list