Alexey Kardashevskiy wrote:
Disables CONFIG_FTRACE_MCOUNT_USE_RECORDMCOUNT as CONFIG_HAS_LTO_CLANG depends on it being disabled. In order to avoid disabling way too many options (like DYNAMIC_FTRACE/FUNCTION_TRACER), this converts FTRACE_MCOUNT_USE_RECORDMCOUNT from def_bool to bool.
<snip>
+CONFIG_FTRACE_MCOUNT_USE_RECORDMCOUNT=n
I don't think that will work since we have no other ways of generating mcount locations on powerpc. And since we decided to only support DYNAMIC_FTRACE, I guess we will need to disable FUNCTION_TRACER to get this working, for now.
I am looking into ways to get ftrace working in this scenario. - Naveen