On Wed, 04 Jun 2025 10:45:34 -0700, Ian Rogers wrote: > Rather than scanning /proc and skipping PIDs based on their UIDs, use > BPF filters for uid filtering. The /proc scanning in thread_map is > racy as the PID may exit before the perf_event_open causing perf to > abort. BPF UID filters are more robust as they avoid the race. The > /proc scanning also misses processes starting after the perf > command. Add a helper for commands that support UID filtering and wire > up. Remove the non-BPF UID filtering support given it doesn't work. > > [...] Applied to perf-tools-next, thanks! Best regards, Namhyung