RE: [PATCH 00/12 v2] ring-buffer/tracing: Remove disabling of ring buffer while reading trace file

From: David Laight
Date: Fri Mar 27 2020 - 10:56:15 EST


From: Steven Rostedt
> Sent: 27 March 2020 14:31
..
> > Along with the one that lets you read the raw trace and get EOF.
>
> Can you explain this more? I think we talked about this before, but I don't
> remember the details.

I was trying to use schedviz (on github from google).
It reads out the raw trace (for some scheduler events)
and then postprocesses it to generate to nice pictures.
However the shell script it uses for the captures has to run the
copies in the background, sleep a random time, and then kill all
the copies having hoped it has waited long enough - truly horrid.

There is also some confusion (IIRC between a header and your library
code) about the 'time-delta' on 'pad' entries.

David

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)