Move function tracer options to Kconfig to make it easier to add new methods for generating __mcount_loc, and to make the options available also when building kernel modules. Note that FTRACE_MCOUNT_USE_* options are updated on rebuild and therefore, work even if the .config was generated in a different environment. Bug: 145210207 Change-Id: I6fc38abde50b602788148cb236aba1261affa896 Link: https://lore.kernel.org/lkml/20201211184633.3213045-1-samitolvanen@google.com/ Signed-off-by: Sami Tolvanen <samitolvanen@google.com> Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org>