How can I log my kernel module (let's call him "test") work process to read by typing
cat /sys/module/test/stat/volumes? Which way should I go? Have I use something from kobject functionality or it's possible to write from kernel functions?
Can you please give examples of such work?