Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1231491
| From | Tal Shorer <tal.shorer@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [Patch v3 2/2] tracing: gpio: add Kconfig option for enabling/disabling trace events |
| Date | 2015-09-23 17:00 +0200 |
| Message-ID | <qbTGx-7k3-1@gated-at.bofh.it> (permalink) |
| References | <pNxnP-18S-5@gated-at.bofh.it> <pSE5j-4C7-5@gated-at.bofh.it> <pSE5j-4C7-7@gated-at.bofh.it> <pWnIC-6yv-21@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Merge window for 4.3 is over, so I figured I might bring this back up On Tue, Aug 11, 2015 at 10:45 PM, Tal Shorer <tal.shorer@gmail.com> wrote: > ping? > > On Sat, Aug 1, 2015 at 3:27 PM, Tal Shorer <tal.shorer@gmail.com> wrote: >> Add a new options to trace Kconfig, CONFIG_TRACING_EVENTS_GPIO, that is >> used for enabling/disabling compilation of gpio function trace events. >> >> Signed-off-by: Tal Shorer <tal.shorer@gmail.com> >> Acked-by: Linus Walleij <linus.walleij@linaro.org> >> --- >> include/trace/events/gpio.h | 4 ++++ >> kernel/trace/Kconfig | 7 +++++++ >> 2 files changed, 11 insertions(+) >> >> diff --git a/include/trace/events/gpio.h b/include/trace/events/gpio.h >> index 927a8ad..2da73b9 100644 >> --- a/include/trace/events/gpio.h >> +++ b/include/trace/events/gpio.h >> @@ -1,6 +1,10 @@ >> #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 >> >> diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig >> index 3b9a48a..67a1731 100644 >> --- a/kernel/trace/Kconfig >> +++ b/kernel/trace/Kconfig >> @@ -635,6 +635,13 @@ config TRACE_ENUM_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 >> + >> endif # FTRACE >> >> endif # TRACING_SUPPORT >> -- >> 2.4.6 >> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [Patch v3 2/2] tracing: gpio: add Kconfig option for enabling/disabling trace events Tal Shorer <tal.shorer@gmail.com> - 2015-09-23 17:00 +0200
csiph-web