Chinaunix首页 | 论坛 | 博客
  • 博客访问: 856025
  • 博文数量: 286
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 1980
  • 用 户 组: 普通用户
  • 注册时间: 2014-05-04 16:41
文章分类

全部博文(286)

文章存档

2020年(2)

2018年(5)

2017年(95)

2016年(69)

2015年(15)

2014年(100)

我的朋友

分类: 嵌入式

2017-04-12 20:49:11

  初学配置内核,发现自己配置的内核编译出来后总是感觉没有别人的精致。

       最明显的一个表现就是,自己编译出的内核在启动时,启动信息一行一行乱七八糟的,而有些内核在启动的时候却在每行信息的开始有一个timing information。

       仔细翻看Kernel的menuconfig,发现在Kernel hacking下有一项名叫

[xml] view plain copy
 print?
  1. [*] Show timing information on printks  

其help信息为:

       Selecting this option causes timing information to be included in printk output.  This allows you to measure the interval between kernel operations, including bootup operations.  This is useful for identifying long delays in kernel startup.  

       故将其选中后便可以实现在每行启动信息前增加一个时间戳的目的了,这样以来启动信息就精致许多了


本文出自 “幻冥极地” 博客,出处http://littlemo.blog.51cto.com/3184796/1225917

阅读(452) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~