[PATCH 5.11 11/31] perf ftrace: Fix access to pid in array when setting a pid filter