lkml.org 
[lkml]   [2026]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v3 2/4] trace/preemptirq: make TRACE_PREEMPT_TOGGLE user-selectable
Date
Make TRACE_PREEMPT_TOGGLE directly selectable so that
preempt_enable/preempt_disable tracepoints can be enabled in
production kernels without requiring the preemptoff latency tracer
overhead.

Signed-off-by: Wander Lairson Costa <wander@redhat.com>
---
kernel/trace/Kconfig | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig
index 49de13cae4288..e007459ecf361 100644
--- a/kernel/trace/Kconfig
+++ b/kernel/trace/Kconfig
@@ -413,10 +413,10 @@ config STACK_TRACER
Say N if unsure.

config TRACE_PREEMPT_TOGGLE
- bool
+ bool "Preempt disable/enable tracing hooks"
help
- Enables hooks which will be called when preemption is first disabled,
- and last enabled.
+ Enables hooks into preemption disable and enable paths for
+ tracing or latency measurement.

config IRQSOFF_TRACER
bool "Interrupts-off Latency Tracer"
--
2.53.0

\
 
 \ /
  Last update: 2026-03-11 14:03    [W:0.199 / U:2.266 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog