[PATCH 3.18 01/21] tracing: Fix crash when freeing instances with event triggers