[PATCH 5.4 04/34] tracing: Fix check for trace_percpu_buffer validity in get_trace_buf()