Am Donnerstag 16 Juni 2011, 09:56:20 schrieb Brad Campbell:
> On 14/06/11 22:22, Brad Campbell wrote:
> 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

Yeah it seems you have to enable CONFIG_FTRACE.
So maybe powertop should suggest this one in the first place?

@Edwin and Brad: Thanks for finding this out - I'll send a patch that spits 
out the message if access to /sys/kernel/debug/tracing/events fails.

Thanks,
Peter

_______________________________________________
Power mailing list
[email protected]
https://bughost.org/mailman/listinfo/power

Reply via email to