]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
tracing: Have HIST_TRIGGERS select TRACING
authorTom Zanussi <tom.zanussi@linux.intel.com>
Sun, 3 Jul 2016 13:51:34 +0000 (08:51 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 5 Jul 2016 19:49:01 +0000 (15:49 -0400)
The kbuild test robot reported a compile error if HIST_TRIGGERS was
enabled but nothing else that selected TRACING was configured in.

HIST_TRIGGERS should directly select it and not rely on anything else
to do it.

Link: http://lkml.kernel.org/r/57791866.8080505@linux.intel.com
Reported-by: kbuild test robot <fennguang.wu@intel.com>
Fixes: 7ef224d1d0e3a ("tracing: Add 'hist' event trigger command")
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/Kconfig

index fafeaf803bd04f605dddd103f8bfc7de3ee0651e..f4b86e8ca1e77dba8d969aa009491876186f457f 100644 (file)
@@ -542,6 +542,7 @@ config HIST_TRIGGERS
        bool "Histogram triggers"
        depends on ARCH_HAVE_NMI_SAFE_CMPXCHG
        select TRACING_MAP
+       select TRACING
        default n
        help
          Hist triggers allow one or more arbitrary trace event fields