On Tue, Sep 23, 2014 at 8:19 PM, Ragu <raguramanmm@xxxxxxxxx> wrote: > I am learning android and finding that the cpufreq dir under > /sys/devices/system/cpu/cpu* is not present when online=0 for a cpu. Why are > we hiding those directory and its content when a cpu goes offline/power > collapse ? > > Because of the above, the cpu usage is not very accurate from some tools > which reads data from sysfs. These were removed because the CPU isn't online anymore and so we shouldn't be able to change its frequency from userspace. But probably this behavior can be changed to mark cpufreq directory and its file as read-only in that case. But that is some work to do.. -- To unsubscribe from this list: send the line "unsubscribe cpufreq" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html