Check patentability & draft patents in minutes with Patsnap Eureka AI!

Process tracing method, process tracing system and related device

A process and thread technology, which is applied in the field of process traceability method, process traceability system and related devices, can solve the problems of lack of versatility, strong process intrusion, inconvenient use, etc., and achieve simplified process traceability and low impact of process intrusion Effect

Pending Publication Date: 2021-11-26
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] 1) Under the embedded linux operating system, due to limited system resources, it is often not possible to install on the target machine, and cannot be debugged locally. Only a cross-debugging environment can be built, which is inconvenient to use
[0004] 2) GDB needs to restart the program, add a breakpoint to stop, check what happened when it stopped, and cannot view the information of the process running time
In addition, this method is highly intrusive to the process and cannot realize the function of runtime debugging
[0005] 3) When the program exits abnormally, the kernel needs to generate a coredump, and then use the GDB tool to load the coredump to analyze the reason for the exit. This method is inconvenient
In addition, the kernel only generates coredump for the specified signal, this method is not universal

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
  • Process tracing method, process tracing system and related device
  • Process tracing method, process tracing system and related device
  • Process tracing method, process tracing system and related device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0037] Please refer to figure 1 , figure 1 It is a flow chart of the process tracing method provided in the embodiment of this application. This application provides a process tracing method, and the specific technical solution is as follows:

[0038] S101: When receiving a process tracing request, call the target thread to send a preset signal to o...

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 provides a process tracing method, which comprises the following steps of: when a process tracing request is received, calling a target thread to send a preset signal to other threads of a process so as to inform the other threads of executing information collection preparation; detecting whether all threads are ready to collect stack frames and register information or not; and if so, controlling all threads to collect stack frames and register information at the same moment, wherein the stack frames and the register information are used for tracing a process. According to the method, analysts can be helped to quickly analyze the process state, the influence on process invasion is low, the debugging function during operation is realized, and the process tracing process is simplified. The invention further provides a process tracing system, a computer readable storage medium and a server, which have the above beneficial effects.

Description

technical field [0001] The present application relates to the field of operating systems, in particular to a process tracing method, a process tracing system and related devices. Background technique [0002] Under the LINUX system, when a process exits abnormally due to various reasons, it is necessary to trace the running information of the process when it exits: signal information, stack frame information, registers and other information, which can help analysts locate the root cause of the exit. In addition, when the process is running normally, it is necessary to view the information that the process is currently running to help debuggers determine the health status of the current process. At present, the commonly used debugging method is to use the GDB tool for debugging, but this tool has the following disadvantages: [0003] 1) Under the embedded linux operating system, due to limited system resources, it often cannot be installed on the target machine, cannot be de...

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/36G06F9/30
CPCG06F11/3636G06F9/30134
Inventor 董强强
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More