[PATCH 5.10 10/29] perf ftrace: Fix access to pid in array when setting a pid filter