[PATCH 028/237] tracing: Adding NULL checks for trace_array descriptor pointer