Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Memory preanalysis method and system adopted after kernel breakdown

A pre-analysis and kernel technology, applied in the kernel field, can solve problems such as waste of storage space and time, affecting the time for the system to return to a normal state, etc.

Active Publication Date: 2016-07-20
BEIJING FORTUNET INFORMATION TECH
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, keeping the memory data completely will waste storage space and time, and will also affect the time it takes for the system to return to a normal state.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Memory preanalysis method and system adopted after kernel breakdown
  • Memory preanalysis method and system adopted after kernel breakdown

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] In order to make the object, technical solution and advantages of the present invention clearer, the specific implementation of the memory pre-analysis method and system after a kernel crash of the present invention will be described below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0034] see figure 1 , in one embodiment, the memory pre-analysis method after a kernel crash may include the following steps:

[0035] S101, dumping the original kernel file when a kernel crash is detected.

[0036] Among them, when a system kernel crash is detected, the original kernel file can be decompressed from the kernel compressed file that comes with the system, and then dumped to a preset storage location.

[0037] In one embodiment, the decompressed original kernel file can be dumped to a preset storage location by using the...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a memory preanalysis method adopted after kernel breakdown.The method comprises the steps that when kernel breakdown is detected, an original kernel file is unloaded; whether the kernel starts CONFIG_DEBUG_INFO or not is judged; if the kernel starts CONFIG_DEBUG_INFO, breakdown point information is obtained from the original kernel file, wherein the breakdown point information comprises the virtual address and offset of a breakdown point; source code information of the breakdown point is obtained from the breakdown point information.According to the memory preanalysis method adopted after kernel breakdown, complete memory data does not need to be stored any more, and only necessary data needs to be stored, so that storage of debugging information is accelerated, time and spaced needed by storing the debugging information can be effectively reduced, and time needed by system kernel error recovery can be shortened.The invention further discloses a memory preanalysis method adopted after kernel breakdown.

Description

technical field [0001] The invention relates to the field of kernel technology, in particular to a memory pre-analysis method and system after a kernel crash. Background technique [0002] Kexec is a kernel reloading system implemented by software, and Kdump technology can perform memory crash dumps, which can be used to automatically capture kernel crash information after a Linux system kernel crash for subsequent debugging. [0003] The way Kexec captures crash information is to keep the memory data intact without initializing the memory data. Retaining the memory data completely will waste storage space and time, and will also affect the time for the system to return to a normal state. And the subsequent debugging work only needs the information corresponding to the system kernel crash part. Contents of the invention [0004] Based on this, it is necessary to provide a post-kernel crash memory pre-analysis method and system thereof capable of storing kernel crash info...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/34
CPCG06F11/3476
Inventor 陈杰沈伟亮
Owner BEIJING FORTUNET INFORMATION TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products