Linux-based kernel log system and realization method thereof
An implementation method and log technology, applied in the field of Linux-based kernel log system, can solve problems such as inability to manage kernel logs, and achieve the effect of improving development efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0033] In order to fully understand the technical content of the present invention, specific embodiments are given below, and the technical solutions of the present invention are introduced and explained in detail in conjunction with the accompanying drawings.
[0034] When the Linux system starts, a kernel log space is created in the Linux system kernel space, a user log space is created in the Linux system user space, and several levels of log files are set. In this embodiment, log files have ten levels, which are named log0 to log9 respectively.
[0035] Such as figure 1 As shown, the kernel log space is composed of a group of continuous kernel log nodes 101 and a kernel log control block 102 . The kernel log control block further includes a kernel log write location pointer 103 , a kernel log read location pointer 104 , and a kernel log lock 105 .
[0036] Described kernel log node 101 is used as the storage of kernel log content, and each kernel log node includes log st...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


