[PATCH openEuler-5.10 46/47] perf script: Fix CPU filtering of a script's switch events