[PATCH v2 0/9] log: don't build the trace buffer when log is not ready