]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: move function tracer options to Kconfig
authorSami Tolvanen <samitolvanen@google.com>
Fri, 11 Dec 2020 18:46:18 +0000 (10:46 -0800)
committerKees Cook <keescook@chromium.org>
Fri, 8 Jan 2021 23:59:02 +0000 (15:59 -0800)
commit93cfa02d2e773f60a041b969c510487825464476
tree5dc22bbb44d06225d4014bf7dadb1e3cfd5ec678
parent7ef47eb101f0dca6dbe94b167f11a8b3cbd1be02
tracing: move function tracer options to Kconfig

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.

Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20201211184633.3213045-2-samitolvanen@google.com
Makefile
kernel/trace/Kconfig
scripts/Makefile.build