Linux kernel print timestamp

Source: Internet
Author: User

The simpler and more convenient way is to increase the timestamp of all kernel information of the boot process through the Printktime function, which facilitates the summary analysis. Printktime was the first kernel patch provided by Celf, which was formally incorporated into the standard kernel in later kernel 2.6.11. So you may be able to enable this feature directly in the new version of the kernel. If your Linux kernel cannot be updated to 2.6.11 for some reason, then you can refer to the methods provided by Celf to modify or directly download the patches they provide: http://tree.celinuxforum.org/CelfPubWiki/PrintkTimes;

The way to turn on the Printktime function is simple, just add "time" to the kernel boot parameter. Of course, you can also choose to directly specify "Show timing information on Printks" in "Kernel hacking" when compiling the kernel to force each boot to increase the timestamp for kernel information. There is another benefit to this approach: you can get the time that the kernel has all the information before parsing the startup parameters. So I chose the latter way.

Linux kernel print timestamp

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.