update for get_affinity and more than 4 PMU