Processor fault record generation method and apparatus

A fault record and processor technology, applied in the computer field, can solve problems such as low efficiency and difficulty in reproduction

Active Publication Date: 2017-07-04
HUAWEI TECH CO LTD
View PDF3 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, many dead loops that appear in practice are sporadic, or do not appear every time, and it is difficult to reproduce
Therefore, the low eff

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
  • Processor fault record generation method and apparatus
  • Processor fault record generation method and apparatus
  • Processor fault record generation method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0137] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0138] figure 1A schematic diagram of an application scenario provided by the embodiment of the present application is shown. The network device 100 includes a hardware platform composed of a CPU 101 and a control chip 102 . The CPU 101 is used to execute programs stored in the memory of the network device 100 to realize the service functions of the network device 100 . The control chip 102 is used to monitor the running status of the CPU 101 .

[0139] For example, the control chip 102 may include a main control chip 1021 and a monitoring chip 1022 . The main control chip 1021 manages the business operation status of the CPU 101. For example, the main control chip 1021 monito...

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 relates to the field of computers, in particular to a processor fault record generation method and apparatus. The processor fault record generation method comprises the steps of obtaining an instruction address in a current program counter (PC) of a processing unit through a JTAG channel when a control chip detects that the processing unit in a CPU stops responding, creating a first class table item comprising the instruction address in the current PC, and recording the first class table item in an instruction address table; and when the number of table items recorded in the instruction address table reaches a preset value, triggering CPU interrupt by the control chip. According to the scheme provided by the method and the apparatus, more information can be provided for processor fault analysis, so that the fault analysis efficiency is improved.

Description

technical field [0001] The present application relates to the field of computers, in particular to a method and device for generating processor fault records. Background technique [0002] The central processing unit (CPU) is the computing core and control core of devices with data processing functions such as computers and servers. A CPU in a device is connected to a memory in the device through a bus, and processes data by interpreting and executing program instructions in the memory. [0003] The existing CPU usually includes an arithmetic logic unit (arithmetic logic unit, ALU), a register (register), a cache memory (Cache), and a data, control, and status bus (bus) for realizing the connection among the three. [0004] In the program run by the CPU, a series of instructions will be executed repeatedly until a preset condition in the program is reached. During actual operation, due to design defects or unforeseen reasons in the actual application environment, the prese...

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
IPC IPC(8): G06F11/07
CPCG06F11/0721G06F11/0751G06F11/0787G06F11/07
Inventor 侯承舜樊辉刘洪佳刘恒鲁冬杰
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products