[PATCH openEuler-1.0-LTS 10/55] tracing: Fix check for trace_percpu_buffer validity in get_trace_buf()