diff options
author | Tal Shorer <tal.shorer@gmail.com> | 2015-08-01 15:27:58 +0300 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2015-10-20 21:56:10 -0400 |
commit | ddd70280bf0e92ad81a9526971409603fba21679 (patch) | |
tree | c97e90370c998526b68b62a91295723bb1780086 /kernel/trace | |
parent | c63b7682b6d90530d3a071ff75b81bfddcce8598 (diff) | |
download | op-kernel-dev-ddd70280bf0e92ad81a9526971409603fba21679.zip op-kernel-dev-ddd70280bf0e92ad81a9526971409603fba21679.tar.gz |
tracing: gpio: Add Kconfig option for enabling/disabling trace events
Add a new options to trace Kconfig, CONFIG_TRACING_EVENTS_GPIO, that is
used for enabling/disabling compilation of gpio function trace events.
Link: http://lkml.kernel.org/r/1438432079-11704-4-git-send-email-tal.shorer@gmail.com
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Tal Shorer <tal.shorer@gmail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace')
-rw-r--r-- | kernel/trace/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig index 1153c43..8d6363f 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 |