aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorStijn Tintel <stijn@linux-ipv6.be>2021-11-06 20:55:57 +0200
committerStijn Tintel <stijn@linux-ipv6.be>2021-11-15 03:13:43 +0200
commit38106a484cdff85cd9b52bb2978c8b40f8b2c942 (patch)
tree04df9dd8d85a99d33cfee05577996b67c0c4fdcc /config
parent5720ac8f4c0d17534a2cf8c9800c01fa7e2c785f (diff)
downloadupstream-38106a484cdff85cd9b52bb2978c8b40f8b2c942.tar.gz
upstream-38106a484cdff85cd9b52bb2978c8b40f8b2c942.tar.bz2
upstream-38106a484cdff85cd9b52bb2978c8b40f8b2c942.zip
kernel: add missing symbol
Enabling KERNEL_FTRACE exposes the HIST_TRIGGERS triggers symbol. Add a build option for it to fix build failures with KERNEL_FTRACE enabled. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Diffstat (limited to 'config')
-rw-r--r--config/Config-kernel.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index e993dc0d8c..8ebe1b7070 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -349,6 +349,19 @@ config KERNEL_PREEMPT_TRACER
enabled. This option and the irqs-off timing option can be
used together or separately.)
+config KERNEL_HIST_TRIGGERS
+ bool "Histogram triggers"
+ depends on KERNEL_FTRACE
+ help
+ Hist triggers allow one or more arbitrary trace event fields to be
+ aggregated into hash tables and dumped to stdout by reading a
+ debugfs/tracefs file. They're useful for gathering quick and dirty
+ (though precise) summaries of event activity as an initial guide for
+ further investigation using more advanced tools.
+
+ Inter-event tracing of quantities such as latencies is also
+ supported using hist triggers under this option.
+
config KERNEL_DEBUG_KERNEL
bool
default n