[PATCH 5.6 50/71] tracing: Fix the race between registering snapshot event trigger and triggering snapshot operation