Unlock instant, AI-driven research and patent intelligence for your innovation.
A Graphical Analysis Method of Kernel Process
What is Al technical title?
Al technical title is built by PatSnap Al team. It summarizes the technical point description of the patent document.
An analysis method and graphical technology, applied in the computer field, can solve problems such as inefficiency, involving kernel process analysis, difficulties, etc., to achieve the effect of improving analysis efficiency
Active Publication Date: 2017-12-05
SHANGHAI WINGTECH ELECTRONICS TECH
View PDF3 Cites 0 Cited by
Summary
Abstract
Description
Claims
Application Information
AI Technical Summary
This helps you quickly interpret patents by identifying the three key elements:
Problems solved by technology
Method used
Benefits of technology
Problems solved by technology
These system problems are inseparable from the running status of the kernel process. To analyze these problems, the analysis of the kernel process is often involved.
[0003] The Linux Kernel itself provides a kernel process analysis tool, but it can only generate a text file FtraceLog, and the Log is accurate to the microsecond level. By reading this huge text file, a certain time period (for example, 5 minutes) is depicted. The complete running state of a process is very difficult and inefficient
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
Click on the blue label to locate the original text in one second.
Reading with bidirectional positioning of images and text.
Smart Image
Examples
Experimental program
Comparison scheme
Effect test
Embodiment 1
[0063] The invention discloses a graphical analysis method of the kernel process, which displays the running state of the kernel process with waveforms of different colors. The method comprises the steps of:
[0064] Step (1) loads the standard kernel Ftrace Log file;
[0065] Step (2) analyzes the contents of the loaded Ftrace Log file, if it is found that the format of the content does not match, it will prompt an error and require reloading;
[0066] Step (3) parses the Ftrace Log file to generate the respective running status files of the kernel process, soft interrupt, and hard interrupt. The specific analysis method is: read the content of the Ftrace Log file line by line, extract the kernel timestamp, process number, process name, and keywords sched_switch, softirq_entry, softirq_exit, irq_handler_entry, irq_handler_exit.
[0067] Scan whether the loaded Ftrace file header contains the TASK-PID / CPU# / TIMESTAMP / FUNCTION keywords, if not, it means that the loaded file is...
Embodiment 2
[0073] Such as figure 1 As shown, it is a softwareflowchart of the main control window in the embodiment of the present invention, including the following steps:
[0074] Step 101, initialize the main control window variable, define "load", "conversion", "help" three buttons and their click callback function, and display the main control window;
[0075] Step 102, if the "load" button is clicked, then execute step 103; otherwise, continue to wait for the user input event;
[0076] Step 103, a file dialog box pops up for the user to select the Ftrace file;
[0077] Step 104, check whether the file selected by the user is an Ftrace file, if so, then perform step 105; otherwise, open the "load" button and wait for the user to reload the file;
[0078] Step 105, if the "conversion" button is clicked, then execute step 106; otherwise, continue to wait for the user input event;
[0079] Step 106, analyze the process name and PID number, the interrupt number of soft interrupt and...
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
Login to View More
Abstract
The invention discloses a graphical analysis method of a kernel process, which displays the running state of the kernel process with waveforms of different colors. The method includes the following steps: (1) loading a standard kernel Ftrace Log file; (2) analyzing the content of the loaded Ftrace Log file, if it is found that the content format does not match, an error is prompted and reloading is required; (3) ) Parse the Ftrace Log file, and generate the respective running status files of the kernel process, soft interrupt, and hard interrupt; (4) Based on each running status file, convert the running status data into waveform data, and display the waveforms in different colors in the monitoring time window The respective operating status of kernel processes, soft interrupts, and hard interrupts, and the percentage of running time of processes, soft interrupts, and hard interrupts is displayed in tabular form. The graphical analysis method of the kernel process proposed by the present invention can improve the efficiency of analyzing system problems caused by abnormal execution of the kernel process, soft interrupt and hard interrupt.
Description
technical field [0001] The invention belongs to the technical field of computers, and relates to a kernel analysis method, in particular to a kernel process graphical analysis method. Background technique [0002] With the popularity of Android smartphones, Linux Kernel is widely used in the kernel of mobile phone operating systems. As the functions of mobile phones become more and more powerful and more and more APKs are installed, the power consumption and operating efficiency of the mobile phonesystem are more and more concerned by people. These system problems are inseparable from the running status of the kernel process, and analysis of these problems often involves the analysis of the kernel process. [0003] The Linux Kernel itself provides a kernel process analysis tool, but it can only generate a text file FtraceLog, and the Log is accurate to the microsecond level. By reading this huge text file, a certain time period (for example, 5 minutes) is depicted. It is ...
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
Application Date:The date an application was filed.
Publication Date:The date a patent or application was officially published.
First Publication Date:The earliest publication date of a patent with the same application number.
Issue Date:Publication date of the patent grant document.
PCT Entry Date:The Entry date of PCT National Phase.
Estimated Expiry Date:The statutory expiry date of a patent right according to the Patent Law, and it is the longest term of protection that the patent right can achieve without the termination of the patent right due to other reasons(Term extension factor has been taken into account ).
Invalid Date:Actual expiry date is based on effective date or publication date of legal transaction data of invalid patent.