tracing: stop making gpio tracing configurable
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 5 Apr 2019 19:46:12 +0000 (21:46 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 8 Apr 2019 13:11:48 +0000 (15:11 +0200)
gpio tracing was made configurable in 4.4-rc1 (commit ddd70280bf0e
("tracing: gpio: Add Kconfig option for enabling/disabling trace
events")). Since then it is the only event type that can be compiled
conditionally. Given that there is only little overhead I don't
understand the reasoning and I was annoyed more than once that gpio
events were not available without recompiling.

So drop the Kconfig symbol and make gpio events available
unconditionally.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/configs/aspeed_g4_defconfig
arch/arm/configs/aspeed_g5_defconfig
include/trace/events/gpio.h
kernel/trace/Kconfig

index 1446262921b483f5f25b812060a4ed6180c2eafc..0f3638dd576be36e837a35e74e1c38de2c54afe5 100644 (file)
@@ -248,7 +248,6 @@ CONFIG_PANIC_TIMEOUT=-1
 # CONFIG_SCHED_DEBUG is not set
 CONFIG_SCHED_STACK_END_CHECK=y
 CONFIG_FUNCTION_TRACER=y
-# CONFIG_TRACING_EVENTS_GPIO is not set
 # CONFIG_RUNTIME_TESTING_MENU is not set
 CONFIG_DEBUG_WX=y
 CONFIG_DEBUG_USER=y
index 02fa3a41add5ca5dc1d5b14d48516d76a721bb53..eaab776c4ac2c239022dcd565663de3a1b0b7f46 100644 (file)
@@ -248,7 +248,6 @@ CONFIG_PANIC_TIMEOUT=-1
 # CONFIG_SCHED_DEBUG is not set
 CONFIG_SCHED_STACK_END_CHECK=y
 CONFIG_FUNCTION_TRACER=y
-# CONFIG_TRACING_EVENTS_GPIO is not set
 # CONFIG_RUNTIME_TESTING_MENU is not set
 CONFIG_DEBUG_WX=y
 CONFIG_DEBUG_USER=y
index 5c189a22c48973a86502710a45886271fe631c21..3aa9fd86d7486383015e7ba5eea91b28c470089b 100644 (file)
@@ -2,10 +2,6 @@
 #undef TRACE_SYSTEM
 #define TRACE_SYSTEM gpio
 
-#ifndef CONFIG_TRACING_EVENTS_GPIO
-#define NOTRACE
-#endif
-
 #if !defined(_TRACE_GPIO_H) || defined(TRACE_HEADER_MULTI_READ)
 #define _TRACE_GPIO_H
 
index 8bd1d6d001d7bca02b13975b1dd16d09825619bc..5d965cef6c77941264e5c5e1a4dc2d8c32e3dd33 100644 (file)
@@ -774,13 +774,6 @@ config TRACE_EVAL_MAP_FILE
 
        If unsure, say N
 
-config TRACING_EVENTS_GPIO
-       bool "Trace gpio events"
-       depends on GPIOLIB
-       default y
-       help
-         Enable tracing events for gpio subsystem
-
 config GCOV_PROFILE_FTRACE
        bool "Enable GCOV profiling on ftrace subsystem"
        depends on GCOV_KERNEL