linux内核死锁调试

使用内核的kernel hacking功能 打开如下配置:linux CONFIG_PROVE_LOCKING=y CONFIG_LOCK_STAT=y CONFIG_DEBUG_LOCKDEP=y 从新编译内核后,proc目录下会有lockdep lockdep_stats lockdep_chains说明lockdep模块已经生效web 测试code:svg #include <linux/k
相关文章
相关标签/搜索