Linux kernel module to log kernel stats during high-load situations