JPS5887639A - Information processor - Google Patents

Information processor

Info

Publication number
JPS5887639A
JPS5887639A JP56185401A JP18540181A JPS5887639A JP S5887639 A JPS5887639 A JP S5887639A JP 56185401 A JP56185401 A JP 56185401A JP 18540181 A JP18540181 A JP 18540181A JP S5887639 A JPS5887639 A JP S5887639A
Authority
JP
Japan
Prior art keywords
information
processing
transfer
hardware
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP56185401A
Other languages
Japanese (ja)
Inventor
Hiroaki Harada
原田 博昭
Yoshio Oshima
大島 喜男
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP56185401A priority Critical patent/JPS5887639A/en
Publication of JPS5887639A publication Critical patent/JPS5887639A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To easily grasp the change in a lot of data, by providing an instruction logging out the status and hardware information to a processor, and transferring the hardware status information of the instruction level. CONSTITUTION:A processor status transfer instruction transmitted from a processor 1 to a transfer control section 302 consists of a transfer instruction section 201 indicating the transfer of the status information to an external storage device 303, the 1st address section 202 designating which regional information is taken as transferred information, and the 2nd address section 203 designating the area for the storage to the storage device 303 instructed at the instruction section 201. When a processor status transfer instruction is issued, the instruction transferring the status signal of the hardware via a path (a) is transmitted to a control section 302, which stops the processing of the device 1 at the path (b), fetches the hardware status information via a path (c) from the device 1, designates the storage area of the storage device 303 via a path (d), allowing to easily grasp a lot of data change.

Description

【発明の詳細な説明】 本発明はプログラムレベルの命令によって、参照できな
いハードウェアレジスタ等の状態情報あるいはプログラ
ム処理のために一時的に状態遷移情報等を記憶するワー
クメモリを有する情報処理装置に関し、祥しくは、これ
らの経時変化をトレースすることによって障害発生時の
解析情報とす姿機能を持つ情報処理装置に関するもので
ある。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an information processing device having a work memory that temporarily stores state information such as hardware registers that cannot be referenced or state transition information for program processing by program level instructions. The present invention relates to an information processing device that can trace these changes over time to obtain analysis information when a failure occurs.

一般に情報処理装置は、ハードウェアとしてトレース専
用の小規模のメモリ装置を持ち、一定時間ごとにレジス
タのデータセット条件信号などのハードステ「タス情報
をこのメモリ装置に書込むことにより、コクアウト時に
必要なノ・−ドウエア情報を得ている。一方、ソフトウ
ェアでは、プログラムの要求によりコントロールレジス
タやプログラムス、データスレジスタのようなプログラ
ムアクセス可能領域の内容とソフトウェア情報をダンプ
することにより、障害解析に必要なソフトウェア情報を
得ている。
In general, information processing equipment has a small-scale memory device dedicated to tracing as hardware, and by writing hardware status information such as data set condition signals of registers to this memory device at regular intervals, it is possible to perform On the other hand, in software, the contents of program-accessible areas such as control registers, programs, and data registers and software information are dumped at the request of the program, which is necessary for failure analysis. Obtaining software information.

第1図は従来技術におけるトレース機能を説明するだめ
の図である。第1図において、lは処理装置を示し、プ
ログラム処理を行う。トレース制御部2は、トレースメ
モリ3ヘトレースのスタート、ストップを指示する信号
を送ったり、あるいはトレースメモリ3からの符号を処
理装置lへ送る処理を行う。トレースメモリ3は、処理
装置lの信号を一定時間毎に書き込んでゆくとともにト
レースメモリアドレスを次のアドレスに更新する記憶機
構である。表示パネル4は、トレースメモ173の内容
を表示あるいはプリントする制御部である。
FIG. 1 is a diagram for explaining the trace function in the prior art. In FIG. 1, l indicates a processing device, which performs program processing. The trace control unit 2 sends signals to the trace memory 3 to instruct the start and stop of tracing, or sends codes from the trace memory 3 to the processing device l. The trace memory 3 is a storage mechanism that writes signals from the processing device 1 at regular intervals and updates the trace memory address to the next address. The display panel 4 is a control unit that displays or prints the contents of the trace memo 173.

処理装置lがプログラム処理を開始すると、グログラム
処理の実行中であることを示す信号が、経路aによって
トレース制御部2へ送られる。トレース制御部2では、
この信号をうけてトレースメモリ3へ、経路すによりト
レーススタートの起動信号を出す。トレースメモリ3は
、トレーススタートの起動信号によって、処理装置lか
らトレース用に経路Cによって受けている制御信号ある
いはデータ信号群を一定時間毎に、アドレス更新を行い
ながらトレースメモリ3へ書き込む。
When the processing device 1 starts program processing, a signal indicating that program processing is being executed is sent to the trace control section 2 via the path a. In the trace control section 2,
Upon receiving this signal, a trace start activation signal is sent to the trace memory 3 via a route. The trace memory 3 writes the control signal or data signal group received from the processing device I via the path C for tracing to the trace memory 3 at regular intervals while updating the address in response to the trace start activation signal.

処理装置1がプログラム処理続行不能の障害が発生して
停止すると、経路aでトレーサ制御部2へ送っていたプ
ログラム処理の実行中を示す信号はオフとなる。トレー
ス制御部2は、プログラム処理が停+Lしたことをヒ記
信号がオフとなったことにより知ると、経路すにトレー
サストップの起動信号を送る。経路すによりトレーサス
トップの指示をうけたトレーサメモリ3では、トレース
メモリ3への書き込みを停止)、するとともに、トレー
スメモリアドレスの更新を禁屯する。そし・て、トレー
ス制御部2は、経路aにより送られた処理装置lのプロ
グラム処理停止信号を経路eKより表示パネル4へ送る
When the processing device 1 stops due to a failure that makes it impossible to continue program processing, the signal indicating that the program processing is being executed, which was sent to the tracer control unit 2 via path a, is turned off. When the trace control unit 2 learns that the program processing has stopped +L because the H signal is turned off, it sends a tracer stop activation signal to the route. The tracer memory 3 that has received the instruction to stop the tracer through the route stops writing to the trace memory 3) and prohibits updating of the trace memory address. Then, the trace control unit 2 sends the program processing stop signal of the processing device l sent via the path a to the display panel 4 via the path eK.

表示パネル4では、経路fにより処理装置lの状態情報
あるいはトレースメモリ3に格納されている処理装置l
の制御信号のトレース情報を得る。
On the display panel 4, the status information of the processing device l or the processing device l stored in the trace memory 3 is displayed via the path f.
Obtain control signal trace information.

表示パネル4に対する障害情報の読み出し指示はマニュ
アル操作あるいは処理装置の診断プログラムなどによっ
て表示パネル4へ指示を出して行う。
The display panel 4 is instructed to read the fault information by issuing the instruction to the display panel 4 manually or by using a diagnostic program of the processing device.

このように、従来のハードウェアの障害#l@をトレー
スする機能は、常に処理装置の実行状態を見て書き込み
、トレースメモリの容量を越えた場合はアドレスラツブ
アランド処理を行い、古いトレースデータ領域へ最新の
トレースデータを書いてゆくため、障害発生で処理装置
が停止上する以前、トレースメモリのメモリ容量サイク
ルまでのトレースのみが可能となることである。このこ
とは、トレースメモリの容量は限られているため、処理
装置のプログラム実行処理ステップに対して、障害停止
までの極めて短い区間までのトレースρ■でへるのみで
、レジスタのデータのような大量のデータ変化をトレー
スで舞ない欠点を有している。
In this way, the conventional hardware fault #l@ tracing function always checks the execution status of the processing unit and writes data, and if the trace memory capacity is exceeded, address love-aland processing is performed to remove old trace data. Since the latest trace data is written to the area, it is possible to trace only up to the memory capacity cycle of the trace memory before the processing device is stopped due to a failure. This means that the capacity of the trace memory is limited, so for the program execution processing step of the processing unit, the trace ρ■ is only limited to an extremely short period until the failure stops, and the trace memory, such as data in a register, is It has the disadvantage of not being able to trace large amounts of data changes.

また、従来の方式はトレーサ専用の信号群を処理装置に
用意する必要があること、さらに専用のトレースメモリ
を用意する必要があった。また、障害情報のトレースと
いっても、トレーサメモリノのデータ幅を大きくして、
制御信号の他、書き込みデータも含めてトレースしよう
とすると、多大なメモリを必要としてしまい、実用化が
困難であった。
Further, in the conventional method, it was necessary to prepare a signal group dedicated to the tracer in the processing device, and furthermore, it was necessary to prepare a dedicated trace memory. Also, even when tracing fault information, the data width of the tracer memorino is increased,
Attempting to trace write data in addition to control signals would require a large amount of memory, making it difficult to put it into practical use.

すなわち、従来のノ・−ドウエアトレーサ方式では、比
較的長い処f1!(例えばチャネルのデータ転送処理)
での1障害を解析するための情報、あるいは、データそ
のものの破#1)といった種類の障害に対する解析情報
を与えることはできなかった。
That is, in the conventional no-ware tracer method, f1! is relatively long. (For example, channel data transfer processing)
It was not possible to provide information for analyzing one type of failure, or analysis information for failures such as failure of the data itself (#1).

一方、ソフトウェアによるダンププログラム処理は、匍
述の如くプログラム参照領域のデータ退避は可能となる
が、リードウェア情報(倒1えはチャネルレジスタ)に
関しては一切参照が不可會ヒである。また、各ブロクラ
ム参照領域を夕°ンプする契機は障害発生した後の事で
あり、途中どういうプログラム処理で推移してきたかは
、タ°ンプ領域のプログラム部分を人手でシミュレート
してトレースしてゆくことが障害解析の方法であす、多
大の工数がかかることは熾論であるが、“このし・ゾス
タはこうであるはずだ”という推論をもとに、仮定して
トレースしてゆくので、障害解析が困難であった。
On the other hand, in dump program processing by software, data in the program reference area can be saved as described above, but leadware information (in other words, channel registers) cannot be referenced at all. In addition, the timing for stamping each block reference area is after a failure occurs, and the progress of program processing during the process can be traced by manually simulating the program part of the stamp area. This is the method of failure analysis.It is true that it takes a lot of man-hours, but it is based on the assumption that "this is how Zosta should be" and traces it. Failure analysis was difficult.

一般に処理装置の1IIl害は、ノ・−ドウエア障害な
のかソフトウi7のプログラム障害なのか力X#41号
1j不能なケースがあり、多大の時間と工数を要しても
なお障害原因の究明に至らない場合が多く、システムの
回軸性とともに、顧客の信用を失うケースが多々ある。
In general, problems with processing equipment are caused by hardware failures or software program failures. There are many cases where this is not achieved, and the customer's trust is often lost as well as the system's reliability.

従来技術では、この、、 −)#ウェア障害かソフトウ
ェア障害かの切り分は解析に対する障害データを与えて
くれない。
In the conventional technology, the distinction between hardware failure and software failure does not provide failure data for analysis.

本発明はヒ記従来技術の問題点を除去し、処理装置の状
態情報、ハードウェア情報をログアウトする命令を与え
ることにより、ハードウェア中のデータを外部記憶装置
へ出力する情報処理装置を提供することにある。
The present invention eliminates the problems of the prior art mentioned above and provides an information processing device that outputs data in hardware to an external storage device by giving a command to log out status information and hardware information of the processing device. There is a particular thing.

以下、図示の一実施例につき本発明の詳細な説明する。Hereinafter, the present invention will be described in detail with reference to one embodiment shown in the drawings.

第2図は本発明で用いる処理装置状態転送命令の形式を
示したものである。即ち、処理装置状態転送命令は、一
般命令で参照できないハードウェアレジスタ、メモリを
含む処理装置内“部のハードウェアの状態情報を外部記
憶装置へ転送することを指示する転送指示部2011処
理装置のハードウェア状態情報のどの領域情報を外部記
憶装置への転送情報とするかを指定する第1アドレス部
202、および転送情報を転送指示部201により指示
された外部記憶装置へ格納するときの格納領域を指定す
る第2アドレス部203 より構成される。
FIG. 2 shows the format of the processing device state transfer command used in the present invention. That is, the processing device state transfer instruction is a transfer instruction unit 2011 of the processing device that instructs the processing device to transfer the state information of the hardware inside the processing device, including hardware registers and memory that cannot be referenced by general instructions, to an external storage device. A first address section 202 that specifies which area information of the hardware status information is to be transferred to the external storage device, and a storage area when storing the transfer information to the external storage device specified by the transfer instruction section 201. It consists of a second address section 203 that specifies.

第3図はハードウェア構成図で、lは処理装置を示し、
プログラム処理を行う。転送制御部302は処理値fi
llのスタート・ストップを行う信号な処理@随lへ送
る。また、ハードウェア状態情報の取轢入れ格納を行う
。外部記憶装置303Fi、転送制御部302により送
られてくる転送情報を格納する。
FIG. 3 is a hardware configuration diagram, where l indicates a processing device,
Performs program processing. The transfer control unit 302 uses the processed value fi
Signal processing to start and stop the ll is sent to the ll. It also stores hardware status information. The external storage device 303Fi stores transfer information sent by the transfer control unit 302.

処理装置lにおいて、第2図に示すプログラム中の処理
装置状態転送命令が発行された時、経路aによりハード
ウェアの状態情報を転送する外部記憶装置303の指示
、転送情報の指定、および格納領域の指定をする信号を
転送制御部302へ送る。
In the processing device l, when the processing device state transfer command in the program shown in FIG. A signal specifying this is sent to the transfer control unit 302.

転送制御部302は、上記指示、指定により直ちに処理
値(l!llの処理を経路すにより市め、転送情報の指
定により核当する処理装置lのハードウェア状態情報を
経路Cにより取り入れ、経路dにより転送情報を外部記
憶装置303の指定された格納領域へ格納する。
The transfer control unit 302 immediately executes the processing of the processing value (l!ll) by route according to the above instructions and specifications, takes in the hardware state information of the corresponding processing device l via route C according to the transfer information specification, and transfers the process to route C. d, the transfer information is stored in the designated storage area of the external storage device 303.

転送情報格納後、転送制御部302は経路すにより処理
値a1に起動をかけることにより、処理装置は処理を続
行する。
After storing the transfer information, the transfer control unit 302 activates the processing value a1 through the route, so that the processing device continues processing.

第4図は処理装置状態転送命令が発行されたときの処理
装置lの命令処理の流れと、処理装置からの指示をうけ
てログアウト動作を行う転送制御部302での処理の流
れを示したもので、(a)が処理値[1の処理、(1)
)が転送制御部302の処理を示す。
FIG. 4 shows the flow of command processing in processing device I when a processing device status transfer command is issued, and the flow of processing in transfer control unit 302, which performs a logout operation in response to an instruction from the processing device. So, (a) is the processing value [processing of 1, (1)
) indicates the processing of the transfer control unit 302.

即ち、処理装置lで状態転送命令が発行されると、転送
制御部302の起動がかかり、転送制御部302の処理
が開始される。以下、処理値[1,転送制御部302の
関連動作は、格納領域の指定により格納領域の取り込み
を行い、転送情報の指定により転送情報の取り込みをす
る。次に処理値filは、転送制御部302の終了報告
を待ち、その間に転送制御部302は処PI!装置lの
停止指示、処理装置情報のログアウト、処理装置lのス
タート指示、終了報告をして転送制御部302の処理を
終了する。
That is, when a state transfer command is issued by the processing device 1, the transfer control unit 302 is activated and the processing of the transfer control unit 302 is started. Hereinafter, the related operations of the processing value [1 and the transfer control unit 302 are to capture a storage area by specifying a storage area, and to capture transfer information by specifying transfer information. Next, the processing value fil waits for a completion report from the transfer control unit 302, and during that time the transfer control unit 302 processes the process PI! The processing of the transfer control unit 302 is ended by instructing to stop the device l, logging out the processing device information, instructing the start of the processing device l, and reporting the completion.

一方、処理装置1111は転送制御部302からの前記
終了報告を受け、処理装置の処理を終了する。
On the other hand, the processing device 1111 receives the completion report from the transfer control unit 302 and ends the processing of the processing device.

なお、経過時間機慣の更新、および入出力割込み動作な
どの割込み処理発行時にもハードウェア制御で前記の処
理装置状態転送命令処理を実行できる。
Note that the above-described processing device state transfer command processing can also be executed under hardware control when updating the elapsed time period and issuing interrupt processing such as input/output interrupt operations.

以Hの説明から明らかな如く、本発明によれば次のよう
な効果が得られる。
As is clear from the explanation below, the following effects can be obtained according to the present invention.

fi+  命令レベルによるハードウェア状態情報の転
送が可能になることにより、ハードウェアの試験結果を
反映してログアウトすることができる。
By making it possible to transfer hardware status information at the fi+ command level, it is possible to log out with the hardware test results reflected.

(2)ハードウェアレベルによるハードウェア状態情報
の転送をすることにより、大量のデータの変化を容易に
把握することができる。
(2) By transferring hardware status information at the hardware level, changes in large amounts of data can be easily understood.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は従来の情報処理装置のトレース機能を説明する
ための図、第2図は本発明で用いる処理装置状態転送命
令の形式を示す図、第3図は本発明の一実施例を示す−
、第4図は第3図の動作を説明するための流れ図である
。 1・・・処理装置、302・・・転送制御部、303・
・・外部記憶装置。 第1図 AJ]202       乙り 第3図 第4図 IQ)
FIG. 1 is a diagram for explaining the trace function of a conventional information processing device, FIG. 2 is a diagram showing the format of a processing device state transfer command used in the present invention, and FIG. 3 is a diagram showing an embodiment of the present invention. −
, FIG. 4 is a flowchart for explaining the operation of FIG. 3. 1... Processing device, 302... Transfer control unit, 303.
...External storage device. Figure 1 AJ] 202 Otori Figure 3 Figure 4 IQ)

Claims (1)

【特許請求の範囲】[Claims] l プログラムを用いて動作処理を行う情報処理装置に
おいて、一般命令で参照できないハードウェアレジスタ
、メモリなどを含む処理装置内部の・・−ドウエア状態
情報を外部記憶装置へ転送する特定裾令を発行し、該特
定命令の指示に従い、前記ハードウェア状態情報のうち
の指定された領域の情報を外部記憶装置へ転送し、その
指定された格納領域へ格納することを特徴とする情報処
理装置。
l In an information processing device that performs operational processing using a program, a specific supporting instruction is issued to transfer hardware state information inside the processing device, including hardware registers, memory, etc. that cannot be referenced by general instructions, to an external storage device. , an information processing apparatus characterized in that, in accordance with the instruction of the specific command, information in a specified area of the hardware status information is transferred to an external storage device and stored in the specified storage area.
JP56185401A 1981-11-20 1981-11-20 Information processor Pending JPS5887639A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56185401A JPS5887639A (en) 1981-11-20 1981-11-20 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56185401A JPS5887639A (en) 1981-11-20 1981-11-20 Information processor

Publications (1)

Publication Number Publication Date
JPS5887639A true JPS5887639A (en) 1983-05-25

Family

ID=16170143

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56185401A Pending JPS5887639A (en) 1981-11-20 1981-11-20 Information processor

Country Status (1)

Country Link
JP (1) JPS5887639A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5492150A (en) * 1977-12-29 1979-07-21 Fujitsu Ltd Gathering system for status information
JPS5530774A (en) * 1978-08-25 1980-03-04 Fujitsu Ltd Data processing system
JPS5574653A (en) * 1978-12-01 1980-06-05 Toshiba Corp Computer having trace function

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5492150A (en) * 1977-12-29 1979-07-21 Fujitsu Ltd Gathering system for status information
JPS5530774A (en) * 1978-08-25 1980-03-04 Fujitsu Ltd Data processing system
JPS5574653A (en) * 1978-12-01 1980-06-05 Toshiba Corp Computer having trace function

Similar Documents

Publication Publication Date Title
JPS6116100B2 (en)
JPS5887639A (en) Information processor
JPS60159951A (en) Tracing system in information processing device
JPH06103104A (en) Remote debug method
JPS5939783B2 (en) logical state tracker
JPH04190430A (en) Emulator for software development
JPS63118964A (en) Information processor
JPS61264447A (en) Recording device for instruction execution event
JP3183228B2 (en) Program debugging device and debugging method
JPH11119992A (en) Trace controller for firmware
JPH0233178B2 (en)
JPH0246969B2 (en)
JPH05204710A (en) Event tracer
JPS58121459A (en) Service processor of electronic computer
JPS6292042A (en) Memory device
JPH0326416B2 (en)
JPH0587850B2 (en)
JP2000112907A (en) Multi-processor device and operation recording method
JPH0363836A (en) Microinstruction execution status tracer
JPS62298841A (en) Firmware debugging system
JPS6132115A (en) Apparatus control system
JPS60171546A (en) Debug system of input and output device
JPS59189459A (en) Operation analyzing device of microprocessor system
JPH04243431A (en) Evaluation system for fault processing function
JPH02110743A (en) Fault diagnostic processing system