There are three options to fix the issue.
1. Do not expose /sys/bus/event_source/devices/cpu/events/slots to
userspace so that pmu_have_event(pmu->name, "slots") returns false.
2. Run cpuid at perf userspace and avoid using 'slots' if it is not
supported in cpuid.
3. Do not fatal perf if the leader is failed. Do not create events for an
evsel if its leader is already failed.
This RFC patch is with the 3rd option. Would you mind suggesting which
option is better?