Trying to run powertop. CONFIG_DEBUG_KERNEL is enabled but I don't get any stats. < Detailed C-state information is not available.> Is there something else I need to enable in the kernel? Thanks, Dave
powertop mini2440
I didn't use this tool yet on ARM, but maybe this text from the archive's README will help you: [...] Kernel Parameters: ------------------ PowerTOP needs some kernel config options enabled in order function properly. As of linux-3.3.0 these are (list probably incomplete): CONFIG_NO_HZ CONFIG_HIGH_RES_TIMERS CONFIG_HPET_TIMER CONFIG_CPU_FREQ_GOV_ONDEMAND CONFIG_USB_SUSPEND CONFIG_SND_AC97_POWER_SAVE CONFIG_TIMER_STATS CONFIG_PERF_EVENTS CONFIG_PERF_COUNTERS CONFIG_TRACEPOINTS CONFIG_TRACING CONFIG_EVENT_POWER_TRACING_DEPRECATED ACPI_PROCFS_POWER [...] At least the "ACPI"-keyword in the list suggests x86 architecture. Also the "C-state" error message you face makes me feel it will work on x86 only. But I'm not sure.
Thanks. I read some comments about it may not work on ARM platforms. 3 or 4 suggestions are given at random every 5 seconds, one of them suggesting to enable CONFIG_NO_HZ Spent quite a bit of time reading about tickless kernels becoming the norm back in 2.6.? then noticed the default on 3.7.1-ptx-2012.12.0 was CONFIG_NO_HZ disabled. Which README are you reading? The one in the powertop-1.11 folder says nothing about kernel options. Dave
The README in this archive: https://01.org/powertop/sites/default/files/downloads/powertop-2.3.tar.gz