[PATCH v2 3/6] tracing: Use .flush() call to wake up readers