aboutsummaryrefslogtreecommitdiffstats
path: root/include/trace/events/gpio.h
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2019-04-05 21:46:12 +0200
committerLinus Walleij <linus.walleij@linaro.org>2019-04-08 15:11:48 +0200
commit12f2639038ef420fe796171ffb810b30d1ac0619 (patch)
tree8480b2373e706103130bc3a3aa033444351a6b30 /include/trace/events/gpio.h
parentgpio: pca953x: Configure wake-up path when wake-up is enabled (diff)
downloadlinux-dev-12f2639038ef420fe796171ffb810b30d1ac0619.tar.xz
linux-dev-12f2639038ef420fe796171ffb810b30d1ac0619.zip
tracing: stop making gpio tracing configurable
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>
Diffstat (limited to 'include/trace/events/gpio.h')
-rw-r--r--include/trace/events/gpio.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/trace/events/gpio.h b/include/trace/events/gpio.h
index 5c189a22c489..3aa9fd86d748 100644
--- a/include/trace/events/gpio.h
+++ b/include/trace/events/gpio.h
@@ -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