kernel module to log stats based on load trigger