[PATCH 4.9 12/62] tracing: Fix pid filtering when triggers are attached