[for-linus][PATCH 2/4] tracing: Add missing helper functions in event pointer dereference check