JPS5942343B2 - Trace information logging method - Google Patents
Trace information logging methodInfo
- Publication number
- JPS5942343B2 JPS5942343B2 JP54172331A JP17233179A JPS5942343B2 JP S5942343 B2 JPS5942343 B2 JP S5942343B2 JP 54172331 A JP54172331 A JP 54172331A JP 17233179 A JP17233179 A JP 17233179A JP S5942343 B2 JPS5942343 B2 JP S5942343B2
- Authority
- JP
- Japan
- Prior art keywords
- trace
- trace information
- program
- information
- area
- 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.)
- Expired
Links
Description
【発明の詳細な説明】
本発明は、トレース情報ロギング方法、特にトレース情
報をプログラムにより直接読出せるようにしたトレース
情報ロギング方法に関するものである。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a trace information logging method, and particularly to a trace information logging method that allows trace information to be directly read by a program.
周知の如く、共通バスを介して複数の装置が接続される
データ処理システムにおいて、該システムに回復不可能
なエラーが発生してシステム・ダウンとなる場合、共通
バスのトレース情報をログ情報として残しておき、該ロ
グ情報をエラー原因の解析に使用するようにされる。As is well known, in a data processing system where multiple devices are connected via a common bus, if an unrecoverable error occurs in the system and the system goes down, trace information of the common bus is left as log information. The log information is then used to analyze the cause of the error.
従来技術においては、共通バス上の信号をハードウェア
構成のトレース手段によつてドレス・エリアにトレース
し、エラーが発生した時、ハードウェア構成のログアウ
ト機構によつて外部記録媒体上に書き込んでいるが、ハ
ードウェア構成のログアウト機構を設けることはコスト
高につながり、また、システム・ダウンのような場合に
はログアウト機構自体の動作が完全でないため、外部記
憶媒体上にトレース情報が記録されないという事態の発
生が予想される。トレース情報の外部記憶媒体への書き
込みをハードウェアを増加させることなく行うため、ト
レース−エリア内のトレース情報をプログラムの実行に
より外部記憶媒体上に書込むことも提案されているが、
この提案された方法では、エラー発生後そのまゝの状態
でロギングのためのプログラム処理を行つているため、
このロギングのためのプログラム処理にもエラーが生じ
、トレース情報が外部記憶媒体上に記録されないことも
予想される。本発明は上記の点を考慮し、プログラムに
よりトレース情報を確実にロギングできるようにするこ
とを目的としている。In the conventional technology, signals on a common bus are traced to a address area by a tracing means in the hardware configuration, and when an error occurs, the signal is written to an external recording medium by a logout mechanism in the hardware configuration. However, providing a hardware-based logout mechanism increases costs, and in the event of a system failure, the logout mechanism itself may not function perfectly, resulting in a situation where trace information is not recorded on the external storage medium. is expected to occur. In order to write trace information to an external storage medium without increasing hardware, it has been proposed to write trace information in a trace area onto an external storage medium by executing a program.
In this proposed method, the program for logging is executed in the same state after the error occurs, so
It is also expected that an error will occur in the program processing for this logging, and that trace information will not be recorded on the external storage medium. The present invention takes the above points into consideration and aims to enable reliable logging of trace information using a program.
そしてそのため本発明のトレース情報ロギング方法は、
共通バスと、該共通バスに接続された複数の機器と、上
記共通バス上の信号をトレース・エリアに格納するトレ
ース手段とを具備し、エラーが発生したとき上記トレー
ス・エリアに記録されているトレース情報をプログラム
の実行により外部記憶媒体に書込むようになつた計算機
におけるトレース情報ロギング方法であつて、エラー発
生を契機として上記トレース手段の機能を凍結せしめ、
上記トレース・エリア内に記録されているトレース情報
が変更されないようにし、しかる後に上記プログラムの
再イニシャル・プログラム・ローディングを行い、当該
プログラムの実行により上記トレース・エリア内に記録
されているトレース情報を上記外部記憶媒体に書込むこ
とを特徴とするものである。Therefore, the trace information logging method of the present invention is
A common bus, a plurality of devices connected to the common bus, and a trace means for storing signals on the common bus in a trace area, and when an error occurs, it is recorded in the trace area. A trace information logging method in a computer that writes trace information to an external storage medium by executing a program, which freezes the function of the tracing means upon the occurrence of an error,
Prevent the trace information recorded in the above trace area from being changed, then re-initial program load the above program, and execute the program to update the trace information recorded in the above trace area. It is characterized in that it is written to the external storage medium.
以下図面を参照しつつ本発明を説明する〇第1図は本発
明が適用されるデータ処理システムの構成例、第2図は
本発明の一実施例を説明するフローチヤートを夫々示し
ている。DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings. FIG. 1 shows a configuration example of a data processing system to which the present invention is applied, and FIG. 2 shows a flowchart illustrating an embodiment of the present invention.
第1図において、1は共通バス、,2は外部記憶媒体例
えば磁気デイスク装置、3は記憶装置、4は主プロセツ
サ、5は共通バス1のトレース情報即ちアドレス情報お
よびデータ情報が書込まれるトレース・エリアを夫々表
わしている。In FIG. 1, 1 is a common bus, 2 is an external storage medium such as a magnetic disk device, 3 is a storage device, 4 is a main processor, and 5 is a trace in which trace information of the common bus 1, that is, address information and data information is written.・Represents each area.
以下第2図図示のフローチヤートをあわせ参照しつつ処
理動作を順次説明する。(1)データ処理中にエラーが
発生すると、トレース・エリア5へのトレース情報の書
込み動作を停止せしめる。The processing operations will be sequentially explained below with reference to the flowchart shown in FIG. (1) When an error occurs during data processing, the operation of writing trace information to the trace area 5 is stopped.
即ちトレース機能を凍結する。(至)そして再びイニシ
ヤル・プログラム・ローデイング(PL)が行なわれる
と、まずエラー発生時のトレース情報が上記トレースエ
リア5に記録されているか否かを判断する。なお、IP
Lによつてレジスタやメモリは初期設定されるので、再
1PL後に実行されるプログラムが上記エラーの影響を
受けることはない〜
(3)判断結果が「Yes]である場合、上記トレース
・エリア5からエラー発生時のトレース情報を読み出し
、当該情報を外部記憶媒体2上に記録せしめる。In other words, the trace function is frozen. (To) When initial program loading (PL) is performed again, it is first determined whether or not trace information at the time of error occurrence is recorded in the trace area 5. In addition, IP
Since the registers and memory are initialized by L, the program executed after 1PL again will not be affected by the above error. (3) If the judgment result is "Yes", the above trace area 5 The trace information at the time of error occurrence is read from the CPU 2 and the information is recorded on the external storage medium 2.
(4)そしてトレース・エリア5へのトレース情報の書
込み処理の開始を指示し、ジヨブの実行を開始するよう
にする。(4) Then, it instructs to start writing the trace information to the trace area 5, and starts executing the job.
(3)一方上記判断結果が「NO] である場合、ただ
ちに上記トレース・エリア5へのトレース情報の書込み
処理の開始を指示し、ジヨブの実行を開始するようにす
る。(3) On the other hand, if the above judgment result is "NO", an instruction is immediately given to start writing processing of trace information to the above trace area 5, and execution of the job is started.
ここで上言I2(3)、(4)の処理および当該(3)
の処理はプログラムにより行う。以上説明した如く、本
発明は、トレース情報をプログラムにより直接読出せる
ようにし、ログ情報の記録はシステム・ダウン後の再1
PL時にプログラムで行なうようにした。即ち、単純な
トレース機能だけでなく、(1)トレースの開始、(2
)エラー時のトレース情報の有無の報告、(3)トレー
ス情報の読出し、をプログラムの指示により行ない、エ
ラ―発生時にはトレース機能を凍結し、パワー・オフ以
外ではりセツトされないような機能を持つようにした。
このためエラー時のトレース情報を確実に記録すること
が可能になる。Here, the processing of above I2 (3) and (4) and the said (3)
The processing is performed by a program. As explained above, the present invention allows trace information to be read directly by a program, and log information can be re-recorded after a system failure.
It is now possible to do this programmatically during PL. In other words, in addition to the simple trace function, (1) start of trace, (2)
) report the presence or absence of trace information in the event of an error, and (3) read trace information according to instructions from the program, freeze the trace function when an error occurs, and have a function that will not be reset except when the power is turned off. I made it.
Therefore, it is possible to reliably record trace information at the time of an error.
第1図は杢発明が適用されるデータ処理システムの構成
例、第2図ぱ本発明の一実施例を説明するフローチヤー
トを夫々示す。FIG. 1 shows a configuration example of a data processing system to which the present invention is applied, and FIG. 2 shows a flowchart for explaining an embodiment of the present invention.
Claims (1)
、上記共通バス上の信号をトレース・エリアに格納する
トレース手段とを具備し、エラーが発生したとき上記ト
レース・エリアに記録されているトレース情報をプログ
ラムの実行により外部記憶媒体に書込むようになつた計
算機におけるトレース情報ロギング方法であつて、エラ
ー発生を契機として上記トレース手段の機能を凍結せし
め、上記トレース・エリア内に記録されているトレース
情報が変更されないようにし、しかる後に上記プログラ
ムの再イニシャル・プログラム・ローディングを行い、
当該プログラムの実行により上記トレース・エリア内に
記録されているトレース情報を上記外部記憶媒体に書込
むことを特徴とするトレース情報ロギング方法。1 A common bus, a plurality of devices connected to the common bus, and a trace means for storing signals on the common bus in a trace area, and when an error occurs, the signal is recorded in the trace area. This is a trace information logging method for computers in which trace information is written to an external storage medium by executing a program, and the function of the tracing means is frozen when an error occurs, and the trace information is recorded in the trace area. Make sure that the trace information in the program is not changed, and then re-initial program load the above program.
A trace information logging method, characterized in that trace information recorded in the trace area is written to the external storage medium by executing the program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP54172331A JPS5942343B2 (en) | 1979-12-29 | 1979-12-29 | Trace information logging method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP54172331A JPS5942343B2 (en) | 1979-12-29 | 1979-12-29 | Trace information logging method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS5697161A JPS5697161A (en) | 1981-08-05 |
JPS5942343B2 true JPS5942343B2 (en) | 1984-10-15 |
Family
ID=15939916
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP54172331A Expired JPS5942343B2 (en) | 1979-12-29 | 1979-12-29 | Trace information logging method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS5942343B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS61173846U (en) * | 1985-04-17 | 1986-10-29 | ||
JPS6235137U (en) * | 1985-08-21 | 1987-03-02 |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS59111554A (en) * | 1982-12-16 | 1984-06-27 | Omron Tateisi Electronics Co | Error data collecting device |
JPS6010356A (en) * | 1983-06-30 | 1985-01-19 | Fujitsu Ltd | Error tracing system of computer system |
JPS60209847A (en) * | 1984-04-03 | 1985-10-22 | Konishiroku Photo Ind Co Ltd | Picture forming device |
JPS60209849A (en) * | 1984-04-03 | 1985-10-22 | Konishiroku Photo Ind Co Ltd | Picture forming device |
JPS61156340A (en) * | 1984-12-28 | 1986-07-16 | Fuji Electric Co Ltd | Trouble recorder |
JPS6466752A (en) * | 1987-09-08 | 1989-03-13 | Pfu Ltd | Trace control system |
-
1979
- 1979-12-29 JP JP54172331A patent/JPS5942343B2/en not_active Expired
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS61173846U (en) * | 1985-04-17 | 1986-10-29 | ||
JPS6235137U (en) * | 1985-08-21 | 1987-03-02 |
Also Published As
Publication number | Publication date |
---|---|
JPS5697161A (en) | 1981-08-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5193154A (en) | Buffered peripheral system and method for backing up and retrieving data to and from backup memory device | |
US6125459A (en) | Information storing method, information storing unit, and disk drive | |
JP3277452B2 (en) | Memory backup device, memory backup method, and audio / video data recording / reproducing device | |
JPS5942343B2 (en) | Trace information logging method | |
JPH02297770A (en) | Optical disk device | |
JPS6378211A (en) | Power failure handling device for disk recording and reproducing device in microcomputer | |
JPH0620442A (en) | Fault recovery method for magneto-optical disk | |
JPH0793101A (en) | Data backup device | |
JPH09330253A (en) | Memory dump method and memory damp system applying the same | |
JP2807026B2 (en) | Execution reproduction method of parallel program | |
JP2004199743A (en) | Recording/reproducing device and recording/reproducing control method | |
JP2549197B2 (en) | Disk device cache memory management device | |
JPH05113854A (en) | Disk device with buffer | |
JP2638451B2 (en) | Information processing device | |
JPS6118218B2 (en) | ||
JP2656499B2 (en) | Computer system | |
JP4009401B2 (en) | Disk control apparatus and recording medium recording program | |
JP2623145B2 (en) | Rotating head type magnetic recording / reproducing device | |
JP2599798B2 (en) | Rotating head type magnetic recording / reproducing device | |
JP2001084179A (en) | Automatic backup system and recording medium recording automatic backup program | |
JPH01298507A (en) | Disk driving device | |
JP2737495B2 (en) | I / O control unit | |
JPS58223860A (en) | Magnetic disk controller | |
JPH10269113A (en) | Method and device for storing information, and disk drive device | |
JPH01158677A (en) | Writing error judgement method |