[PATCH 5.1 1/2] perf/cgroups: Don't rotate events for cgroups unnecessarily