]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Simplify the Kconfig dependency of FTRACE
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 31 Jul 2021 05:22:31 +0000 (14:22 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 16 Aug 2021 15:37:20 +0000 (11:37 -0400)
commitd60306e09d96fbf89c5ff4f89977814cc5173280
tree566e875f21f3723f94dead890217c85457757e58
parent8305e82a1c4fa958278c8b26b857450bb0616590
tracing: Simplify the Kconfig dependency of FTRACE

The entire FTRACE block is surrounded by 'if TRACING_SUPPORT' ...
'endif'.

Using 'depends on' is a simpler way to guard FTRACE.

Link: https://lkml.kernel.org/r/20210731052233.4703-1-masahiroy@kernel.org
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/Kconfig