Added another sysfs file to show the data ringbuffer.
Bundle static fields in static struct, and generalize ringbuffer handling thereby.