On Wed Apr 26 21:55:13 2023 +0000, Zebediah Figura wrote:
Oh indeed, I missed that. Still, that does raise the question, under what circumstances would "cpu_core" exist but the CPU not be hybrid?
I don't think that can ever happen with the current kernel code, but who knows, maybe in the future it could? I just added this check because "this is supposed to exist too so may as well check that".
Another alternative would be to also parse that file and `memset(performance_cores, 0, sizeof(performance_cores));` if that fails.