A kthread based hammering loop trigger

modulename: iio-trig-loop.ko

configname: CONFIG_IIO_TIGHTLOOP_TRIGGER

Linux Kernel Configuration
└─>Device Drivers
└─>Industrial I/O support
└─>Triggers - standalone
└─>A kthread based hammering loop trigger
In linux kernel since version 4.1 (release Date: 2015-06-21)  
An experimental trigger, used to allow sensors to be sampled as fast
as possible under the limitations of whatever else is going on.
Uses a tight loop in a kthread. Will only work with lower half only
trigger consumers.

To compile this driver as a module, choose M here: the
module will be called iio-trig-loop.

source code: