trace-cmd: Make read nonblocking in find_time_stamp().
This only affects the tsc -> time of day correlation when doing
`trace-cmd record --date`.
get_date_to_ts() writes a dummy event to trace_marker and then reads it back.
Reading it back is done by looping over all per-cpu raw trace pipes and trying
to read. This read should be non-blocking, because the dummy event can end up
on any CPU.
Signed-off-by: Aaron Fabbri <firstname.lastname@example.org>
Signed-off-by: Steven Rostedt <email@example.com>
1 file changed