Invention Grant
- Patent Title: Debugging method, multi-core processor and debugging device
-
Application No.: US15934329Application Date: 2018-03-23
-
Publication No.: US10409709B2Publication Date: 2019-09-10
- Inventor: Mingfa Wang , Gang Yu , Haichuan Wang
- Applicant: HUAWEI TECHNOLOGIES CO., LTD.
- Applicant Address: CN Shenzhen
- Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee Address: CN Shenzhen
- Agency: Conley Rose, P.C.
- Priority: CN201510623211 20150925
- Main IPC: G06F11/36
- IPC: G06F11/36 ; G06F11/22 ; G06F9/54

Abstract:
Embodiments of the present invention relate to the field of computer technologies. The embodiments of the present invention provide a debugging method, including: starting, by a core A of a multi-core processor after completing execution of a preset event processing routine, to stop running, and sending a running stop signal to other cores in a process of stopping running; after receiving a first stop termination instruction and resuming running, executing a debugging information collection function to collect debugging information of the preset event, and stopping running after completing the execution of the debugging information collection function; and after receiving a second stop termination instruction and resuming running, sending a running resumption instruction to the other cores. By means of the technical solutions provided in the embodiments of the present invention, kernel mode code and user mode code can be masked on a same debugging platform.
Public/Granted literature
- US20180210811A1 DEBUGGING METHOD, MULTI-CORE PROCESSOR AND DEBUGGING DEVICE Public/Granted day:2018-07-26
Information query