kernel里initcall debug
来源:互联网 发布:手机注册不了淘宝店铺 编辑:程序博客网 时间:2024/05/19 08:22
设置initcall_debug 变量,该变量在init/main.c中定义:
bool initcall_debug;
修改成
bool initcall_debug = 1;
这时编译运行,发现还没有打印initcall log,查找原因,发现是printk的loglevel 比较高,kernel debug的level比较低,
然后在/kernel/printk.c 文件中把printk的loglevel调到最低,使其打印所有的log,如下,都调整到9:
+#define DEFAULT_MESSAGE_LOGLEVEL 9 /* We show everything that is MORE important than this.. */+#define MINIMUM_CONSOLE_LOGLEVEL 9 /* Minimum loglevel we let people use */+#define DEFAULT_CONSOLE_LOGLEVEL 9 /* anything MORE serious than KERN_DEBUG */
0 0
- kernel里initcall debug
- kernel的initcall函数
- linux kernel initcall函数
- kernel的initcall函数
- 分析kernel的initcall函数
- 分析kernel的initcall函数
- 分析kernel的initcall函数
- 分析kernel的initcall函数
- How the Linux Kernel initcall Mechanism Works
- kernel中各种initcall的优先级
- kernel debug:
- kernel debug
- kernel debug
- debug kernel with kernel debugger
- debug kernel with qemu
- USB Hub Kernel Debug
- Linux Kernel -- Debug VirtualBox
- linux kernel dynamic debug
- (转载)sar命令详解
- std::deque 在Debug 与Release 下执行的不同
- 在linux apache 上部署 django 网站
- Android性能优化典范 - 第2季
- Context总结
- kernel里initcall debug
- Json 详细解读 解析
- redis操作命令
- VC2008中影响exe大小和速度的全部编译选项
- 时间戳和时间的相互转化
- ios中常用到的正则表达式
- Py-faster-rcnn实现自己的数据train和demo
- 第一个Android程序----一个简单的时间表
- 吞吐量(Throughput)、QPS、并发数、响应时间(RT)对系统性能的影响