nice article but I think op should use debugfs instead of /proc. debugfs is designed for this purpose.
nice article but I think op should use debugfs instead of /proc. debugfs is designed for this purpose.