Preemption-off Latency Tracer

modulename: trace_irqsoff.ko

configname: CONFIG_PREEMPT_TRACER

Linux Kernel Configuration
└─>Tracers
└─>Preemption-off Latency Tracer
In linux kernel since version 2.6.27 (release Date: 2008-10-09)  
This option measures the time spent in preemption off critical
sections, with microsecond accuracy.

The default measurement method is a maximum search, which is
disabled by default and can be runtime (re-)started
via:

echo 0 > /debugfs/tracing/tracing_max_latency

(Note that kernel size and overhead increases with this option
enabled. This option and the irqs-off timing option can be
used together or separately.)

source code: