All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] ftrace: simplify the Kconfig dependency of FTRACE
@ 2021-07-31  5:22 Masahiro Yamada
  2021-07-31  5:22   ` Masahiro Yamada
  2021-07-31  5:22 ` [PATCH 3/3] trace: remove redundant dependency from IRQSOFF_TRACER Masahiro Yamada
  0 siblings, 2 replies; 47+ messages in thread
From: Masahiro Yamada @ 2021-07-31  5:22 UTC (permalink / raw)
  To: Steven Rostedt, Ingo Molnar; +Cc: Masahiro Yamada, linux-kernel

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

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

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---

 kernel/trace/Kconfig | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig
index d567b1717c4c..9d3f918b5867 100644
--- a/kernel/trace/Kconfig
+++ b/kernel/trace/Kconfig
@@ -135,10 +135,9 @@ config TRACING_SUPPORT
 	depends on STACKTRACE_SUPPORT
 	default y
 
-if TRACING_SUPPORT
-
 menuconfig FTRACE
 	bool "Tracers"
+	depends on TRACING_SUPPORT
 	default y if DEBUG_KERNEL
 	help
 	  Enable the kernel tracing infrastructure.
@@ -1032,6 +1031,3 @@ config HIST_TRIGGERS_DEBUG
           If unsure, say N.
 
 endif # FTRACE
-
-endif # TRACING_SUPPORT
-
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 47+ messages in thread

end of thread, other threads:[~2021-08-25  4:55 UTC | newest]

Thread overview: 47+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-31  5:22 [PATCH 1/3] ftrace: simplify the Kconfig dependency of FTRACE Masahiro Yamada
2021-07-31  5:22 ` [PATCH 2/3] trace: refactor TRACE_IRQFLAGS_SUPPORT in Kconfig Masahiro Yamada
2021-07-31  5:22   ` Masahiro Yamada
2021-07-31  5:22   ` Masahiro Yamada
2021-07-31  5:22   ` [OpenRISC] " Masahiro Yamada
2021-07-31  5:22   ` Masahiro Yamada
2021-07-31  5:22   ` Masahiro Yamada
2021-07-31  5:22   ` Masahiro Yamada
2021-07-31  6:50   ` Heiko Carstens
2021-07-31  6:50     ` Heiko Carstens
2021-07-31  6:50     ` [OpenRISC] " Heiko Carstens
2021-07-31  6:50     ` Heiko Carstens
2021-07-31  6:50     ` Heiko Carstens
2021-07-31  6:50     ` Heiko Carstens
2021-07-31 23:12   ` Vineet Gupta
2021-07-31 23:12     ` Vineet Gupta
2021-07-31 23:12     ` [OpenRISC] " Vineet Gupta
2021-07-31 23:12     ` Vineet Gupta
2021-07-31 23:12     ` Vineet Gupta
2021-07-31 23:12     ` Vineet Gupta
2021-08-02  2:56   ` Michael Ellerman
2021-08-02  2:56     ` Michael Ellerman
2021-08-02  2:56     ` [OpenRISC] " Michael Ellerman
2021-08-02  2:56     ` Michael Ellerman
2021-08-02  2:56     ` Michael Ellerman
2021-08-02  2:56     ` Michael Ellerman
2021-08-02 15:55   ` Catalin Marinas
2021-08-02 15:55     ` Catalin Marinas
2021-08-02 15:55     ` Catalin Marinas
2021-08-02 15:55     ` Catalin Marinas
2021-08-02 15:55     ` Catalin Marinas
2021-08-02 18:03   ` Max Filippov
2021-08-02 18:03     ` Max Filippov
2021-08-02 18:03     ` [OpenRISC] " Max Filippov
2021-08-02 18:03     ` Max Filippov
2021-08-02 18:03     ` Max Filippov
2021-08-02 18:03     ` Max Filippov
2021-08-25  3:49   ` Palmer Dabbelt
2021-08-25  3:49     ` Palmer Dabbelt
2021-08-25  3:49     ` Palmer Dabbelt
2021-08-25  3:49     ` [OpenRISC] " Palmer Dabbelt
2021-08-25  3:49     ` Palmer Dabbelt
2021-08-25  3:49     ` Palmer Dabbelt
2021-08-25  3:49     ` Palmer Dabbelt
2021-07-31  5:22 ` [PATCH 3/3] trace: remove redundant dependency from IRQSOFF_TRACER Masahiro Yamada
2021-08-02 13:29   ` Steven Rostedt
2021-08-03  5:14     ` Masahiro Yamada

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.