[PATCH openEuler-5.10 03/41] tracing: Fix check for trace_percpu_buffer validity in get_trace_buf()