Linux 5.2 Kernel To Introduce A Generic Counter Interface
Written by Michael Larabel in Linux Kernel on 26 April 2019 at 10:14 AM EDT. 21 Comments
LINUX KERNEL --
Queued now into staging for introduction with the upcoming Linux 5.2 kernel cycle is a Generic Counter Interface to allow counter devices/drivers to re-use this common code rather than having to implement redundant code into each of these drivers.

The scope of a counter device in this context simply comes down to: "a counter is defined as a device that reports one or more "counts" based on the state changes of one or more "signals" as evaluated by a defined "count function.""

The Generic Counter Interface provides some common infrastructure and a set of standardized sysfs interfaces for reading and interacting with such devices.

Should this interest you, more information can be learned via this documentation queued as part of the Generic Counter code sitting within staging-next until the Linux 5.2 merge window opens next month.
Related News
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter or contacted via MichaelLarabel.com.

Popular News This Week