Turning on ftrace?

Does anyone know how to get ftrace working on a Turris Omnia? I tried going into ~/turris-os/target/linux/generic/config-4.4 before compiling and turning on all of the following:

CONFIG_FTRACE=y
CONFIG_FTRACE_STARTUP_TEST=y
CONFIG_DEBUG_FS=y #already on
CONFIG_FUNCTION_TRACER=y
CONFIG_IRQSOFF_TRACER=y
CONFIG_PREEMPT_TRACER=y
CONFIG_SCHED_TRACER=y
CONFIG_STACK_TRACER=y
CONFIG_BLK_DEV_IO_TRACE=y

I can then compile and flash the new firmware with USB, but /sys/kernel/debug/tracing doesn’t appear. The new compiled firmware is definitely 4.4.

Thanks for any help!

1 Like