[for-linus][PATCH 1/6] tracing/synthetic: Fix races on freeing last_cmd