[PATCH openEuler-1.0-LTS 05/40] tracing: Check pid filtering when creating events