On 14/06/11 22:22, Brad Campbell wrote: > On 14/06/11 15:20, Török Edwin wrote: >> >> I see wakeups both on my laptop (Core 2 Duo), and my desktop >> (AMD Phenom II), running 64-bit Linux 3.0-rc2. >> If you built the kernel yourself maybe you forgot to enable one of the >> CONFIG_* features that powertop needs? >> Try running powertop under strace, and see if powertop tries to open >> some /sys file that doesn't exist. > > It seems to open quite a few, but I'm struggling to figure out what I've > failed to enable. The perf > menu has all of 3 options, and one of those is listed as having no function. > Suggestions warmly > welcomed. >
So it turns out that there is no direct way to enable CONFIG_TRACING. If you have perf enabled then powertop won't spit out the diagnostic message telling you to enable both perf and trace. After an hour of rooting through Kconfig files, I finally figured out the quickest way to enable TRACING was in the Kernel hacking menu ; Tracers (CONFIG_FTRACE) ; Kernel Function Tracer (CONFIG_FUNCTION_TRACER), which selects GENERIC_TRACER which in turn selects CONFIG_TRACING. Did I miss something obvious in the docs? Regards, Brad -- Dolphins are so intelligent that within a few weeks they can train Americans to stand at the edge of the pool and throw them fish. _______________________________________________ Power mailing list [email protected] https://bughost.org/mailman/listinfo/power
