摘要: 转载:https://www.linux.com/learn/linux-career-center/44184-the-kernel-newbie-corner-kernel-debugging-with-proc-qsequenceq-files-part-3Finally, after two installments of the basics of debugging with sequence files, we're going to finish off by demonstrating the power of sequence files with an examp 阅读全文
posted @ 2014-04-05 13:46 摩斯电码 阅读(455) 评论(0) 推荐(0) 编辑
摘要: 转载:https://www.linux.com/learn/linux-career-center/39972-kernel-debugging-with-proc-qsequenceq-files-part-2-of-3This week, we'll pick up where we left off last week and continue discussing simple kernel and module debugging using seq_file-based proc files. And given the amount of material left t 阅读全文
posted @ 2014-04-05 13:45 摩斯电码 阅读(380) 评论(0) 推荐(0) 编辑
摘要: 转载:https://www.linux.com/learn/linux-career-center/37985-the-kernel-newbie-corner-kernel-debugging-using-proc-qsequenceq-files-part-1Over this column and the next one (and possibly the one after that, depending on how detailed we get), we're going to discuss kernel and module debugging using pro 阅读全文
posted @ 2014-04-05 13:41 摩斯电码 阅读(386) 评论(0) 推荐(0) 编辑
摘要: 转载:http://blog.csdn.net/kasalyn/article/details/17097639The __KERNEL__ macro is defined because there is programs (like libraries) that include kernel code and there is many things that you don't want them to include. So most modules will want the__KERNEL__ macro to be enabled.When you compile y 阅读全文
posted @ 2014-04-05 12:52 摩斯电码 阅读(622) 评论(0) 推荐(0) 编辑