[for-next][PATCH 02/12] tracing: Fix race in trace_open and buffer resize call