[PATCH 5.4 20/92] tracing: Fix pid filtering when triggers are attached