Third week kernel debug

Source: Internet
Author: User

Qianzhiang + Original works reproduced please specify the source + "Linux kernel analysis" MOOC course http://mooc.study.163.com/course/USTC-1000029000

1. Experimental results

This week is primarily the environment for building Linux kernel tests, as well as simple analysis of the relevant functions and execution steps of the Linux kernel.

The first is to load a memory image into an experiment running in the kernel, where the menu program is used. The experimental results are as follows.

The second experiment is to build GDB's test platform, using GDB to set breakpoints and set breakpoints at Start_kernel. Here are the results of the experiment

2 Run Analysis 3 summary

During the Linux boot process, there is a startup process called Process No. 0, which is not visible to the Linux system, and all other processes are created by this process. That is to say, Process1 is also created by PROCESS0. The idle process is mainly called by the system when the system is idle.

Third week kernel debug

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.