JPH02294851A - Trace information collecting system - Google Patents

Trace information collecting system

Info

Publication number
JPH02294851A
JPH02294851A JP1117788A JP11778889A JPH02294851A JP H02294851 A JPH02294851 A JP H02294851A JP 1117788 A JP1117788 A JP 1117788A JP 11778889 A JP11778889 A JP 11778889A JP H02294851 A JPH02294851 A JP H02294851A
Authority
JP
Japan
Prior art keywords
pointer
trace
trace buffer
address
buffer
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
JP1117788A
Other languages
Japanese (ja)
Inventor
Yasushi Kimura
靖 木村
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.)
NEC Solution Innovators Ltd
Original Assignee
NEC Software Hokuriku 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 NEC Software Hokuriku Ltd filed Critical NEC Software Hokuriku Ltd
Priority to JP1117788A priority Critical patent/JPH02294851A/en
Publication of JPH02294851A publication Critical patent/JPH02294851A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To freeze the stored trace information at the time when a device fault is generated by changing the head pointer or the end pointer to a trace buffer. CONSTITUTION:When a notice of generation of a device fault is received, a trace buffer pointer changing means 2 reads out the next pointer 33 in a trace buffer pointer storage means 3. Subsequently, the contents of the next pointer 33 are checked, and when the rear half part of a trace buffer 5 is indicated, the contents of the end pointer 32 are changed so as to show an intermediate address of the trace buffer 5, and when the front part is indicated, the contents of the head pointer 33 are changed so as to show the intermediate address of the trace buffer 5. At the time point of collecting the trace information, the next pointer 33 is updated to the next address in which the read-out contents are stored by trace information collecting means 4. In such a way, in the case a fault is generated, necessary trace information is left on the trace buffer.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はトレース情報収集方式、特に情報処理システム
におけるトレース情報収集方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a trace information collection method, particularly to a trace information collection method in an information processing system.

〔従来の技術〕[Conventional technology]

従来、この種の1・レース情報収集方式は、ハードウェ
アの動作、ファームウエアおよびソフトウェアのプログ
ラムが予め設定されたトレースポイントを通過する時に
、その時点でのハードウエア、ファームウェア、ソフト
ウエアの状態またはテータ情報を、トレースバッファの
先頭から順に書み込み、トレースバッファか満杯になる
と、再びトレースバッファの先頭から重ね書きするよう
にしている。
Traditionally, this type of 1-race information collection method collects information about the current status of hardware, firmware, and software when the hardware operation, firmware, and software programs pass through preset trace points. Data information is written sequentially from the beginning of the trace buffer, and when the trace buffer becomes full, it is overwritten again from the beginning of the trace buffer.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のトレース情報収集方式は、トレースバッ
ファが満杯になるとトレースバツファの先頭から重ね書
きしていくため、装置の障害発生等によりトレース動作
を停止しない場合に、トレース情報の解析を行なおうと
すると、必要なトレース情報がトレースバッファ上に残
っていないことがあるという欠点がある。
In the conventional trace information collection method described above, when the trace buffer becomes full, it is overwritten from the beginning of the trace buffer, so if the trace operation is not stopped due to a device failure, etc., trace information can be analyzed. If you try to do this, the disadvantage is that the necessary trace information may not remain in the trace buffer.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のトレース情報収集方式は、情報処理システムの
トレース情報を先頭ポインタと末尾ポインタとでアドレ
スの範囲を示すトレースバツファに循環して格納するト
レース情報収集方式において、障害発生通知を受けたと
き、次のトレース情報をトレースバッファに格納するア
ドレスを示す次ポインタが、トレースバッファを2分割
した前半にあるときは先頭ポインタの示すアドレスをト
レースバッファの2分割位置のアドレスに変更し、前記
次ポインタがトレースバッファの2分割した後半にある
ときは末尾ポインタの示すアドレスをトレースバッファ
の2分割位置のアドレスに変更するトレースバッファポ
インタ変更手段と、次ポインタの示すアドレスにトレー
ス情報を格納したあと、この次ポインタを次のアドレス
を示すように更新すると共に、更新した次ポインタの示
すアドレスが前記末尾ポインタの示すアドレスと同じと
きは前記先頭ポインタの示すアドレスに書替えるトレー
ス情報収集手段とを有することにより構成される。
The trace information collection method of the present invention is a trace information collection method in which trace information of an information processing system is circulated and stored in a trace buffer indicating a range of addresses using a start pointer and an end pointer. , if the next pointer indicating the address at which the next trace information is to be stored in the trace buffer is in the first half of the trace buffer divided into two parts, the address indicated by the first pointer is changed to the address of the two-part divided position of the trace buffer, and the next pointer is trace buffer pointer changing means that changes the address indicated by the end pointer to the address of the two-divided position of the trace buffer when the trace buffer is in the second half of the trace buffer division; trace information collection means for updating the next pointer to indicate the next address, and rewriting the address to the address indicated by the first pointer when the address indicated by the updated next pointer is the same as the address indicated by the end pointer; configured.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例のブロック図で、障害発生通
知手段1,トレースバッファポインタ変更手段2,トレ
ースバッファポインタ記憶手段3,トレース情報収集手
段4および1・レースバッファ5により構成され、トレ
ースバッファポインタ記憶手段3には先頭ポインタ31
,末尾ポインタ32,次ポインタ33が記憶される。
FIG. 1 is a block diagram of an embodiment of the present invention, which is composed of a failure occurrence notification means 1, a trace buffer pointer changing means 2, a trace buffer pointer storage means 3, a trace information collection means 4, and a race buffer 5. The trace buffer pointer storage means 3 includes a head pointer 31.
, end pointer 32, and next pointer 33 are stored.

第2図、および第3図はそれぞれ第1図のトレースバッ
ファポインタ変更手段2の処理のフローチャート、およ
びトレース情報収集手段4の処理のフローチャートであ
る。
2 and 3 are a flowchart of the processing of the trace buffer pointer changing means 2 and the processing of the trace information collection means 4 of FIG. 1, respectively.

次に、第2図および第3図を参照して第1図の動作につ
いて説明する。装置に障害が発生した場合、障害発生通
知千段1は、トレースバッファポインタ変更手段2に対
して装置障害が発生したことを通知する。トレースバッ
ファポインタ変更手段2は、装置障害発生の通知を受け
るとトレースバッファポインタ記憶千段3の中の次ポイ
ンタ33を読出すくステップ■)。次に、次ポンインタ
33の内容を調べ(ステップ■)、次ポインタの内容が
トレースバッファ5の後半部分を指しているなら、末尾
ポインタ32の内容をトレースバッファ5の中間のアド
レスに示すように変更する(ステップ■)。次ポインタ
33の内容がトレースバッファ5の前半部分を指してい
るなら、先頭ポインタ33の内容がトレースバッファの
中間のアドレスを示すように変更する(ステップ■)。
Next, the operation shown in FIG. 1 will be explained with reference to FIGS. 2 and 3. When a failure occurs in the device, the failure occurrence notification stage 1 notifies the trace buffer pointer changing means 2 that a device failure has occurred. When the trace buffer pointer changing means 2 is notified of the occurrence of a device failure, the trace buffer pointer changing means 2 reads out the next pointer 33 in the trace buffer pointer storage stage 3 (step (2)). Next, check the contents of the next pointer 33 (step ■), and if the contents of the next pointer point to the latter half of the trace buffer 5, change the contents of the end pointer 32 to indicate the middle address of the trace buffer 5. (Step ■). If the contents of the next pointer 33 point to the first half of the trace buffer 5, the contents of the head pointer 33 are changed to point to the middle address of the trace buffer (step 2).

そこでトレース情報収集手段4は、トレース情報収集の
時点になると、トレースバッファポンインク格納手段3
の中の次ポインタ33を読出し(ステップ■)、次ポイ
ンタ33の内容が指すトレースバッファ5のアドレスへ
トレース情報を格納して(ステップ@)、次ポインタ3
3の内容を格納した次のアドレスに更新する(ステップ
[相])。
Therefore, at the time of collecting trace information, the trace information collecting means 4 uses the trace buffer pump ink storage means 3 to collect the trace information.
The next pointer 33 is read out (step ■), the trace information is stored in the address of the trace buffer 5 pointed to by the contents of the next pointer 33 (step @), and the next pointer 3
The contents of 3 are updated to the next address where they are stored (step [phase]).

更に、この次ポインタ33の内容を末尾ポインタ32の
内容と比較しくステップ[相])、等しければ次ポイン
タ33に先頭ポインタ31の内容を複写する(ステップ
■)。
Furthermore, the content of this next pointer 33 is compared with the content of the last pointer 32 (step [phase]), and if they are equal, the content of the first pointer 31 is copied to the next pointer 33 (step 2).

以上、トレースバッファを二つに分割した場合を例にと
って説明したが、このような状態にある間に、再度障害
発生の通知を受けた場合は、二つに分割された先頭ポイ
ンタと末尾ポインタとの間を、初回と同様に二つに分割
を繰返すことができる。
The explanation above has been given using the case where the trace buffer is divided into two, but if you receive a failure notification again while in this state, the two divided start pointer and end pointer You can repeat the division into two in the same way as the first time.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、装置障害発生時、トレー
スバッファに対する先頭ポインタまたは末尾ポインタを
変更することにより、トレースバツファを二つに分割し
て装置障害発生以後のトレースバッファとして使用でき
る領域を変更し、装置障害発生時に格納したトレース情
報を凍結することができる効果がある。
As explained above, the present invention divides the trace buffer into two parts by changing the start pointer or end pointer for the trace buffer when a device failure occurs, thereby creating an area that can be used as a trace buffer after the device failure occurs. This has the effect of being able to freeze the trace information that has been changed and stored when a device failure occurs.

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

第1図は本発明の一実施例のブロック図、第2図は第1
図中のトレースバッファポインタ変更手段の処理の流れ
図、第3図は第1図中のトレース情報収集手段の処理の
流れ図である。 1・・・障害発生通知手段、2・・・トレースバッファ
ポインタ変更手段、3・・・トレースバッファポインタ
記憶手段、31・・・先頭ポインタ、32・・・末尾ポ
インタ、33・・・次ポインタ、4・・・トレース情報
収集手段、5・・・トレースバッファ。
FIG. 1 is a block diagram of one embodiment of the present invention, and FIG. 2 is a block diagram of an embodiment of the present invention.
FIG. 3 is a flowchart of the processing of the trace buffer pointer changing means in the figure, and FIG. 3 is a flowchart of the processing of the trace information collection means in FIG. DESCRIPTION OF SYMBOLS 1...Failure occurrence notification means, 2...Trace buffer pointer changing means, 3...Trace buffer pointer storage means, 31...Start pointer, 32...End pointer, 33...Next pointer. 4...Trace information collection means, 5...Trace buffer.

Claims (1)

【特許請求の範囲】[Claims] 情報処理システムのトレース情報を先頭ポインタと末尾
ポインタとでアドレスの範囲を示すトレースバッファに
循環して格納するトレース情報収集方式において、障害
発生通知を受けたとき、次のトレース情報をトレースバ
ッファに格納するアドレスを示す次ポインタが、トレー
スバッファを2分割した前半にあるときは先頭ポインタ
の示すアドレスをトレースバッファの2分割位置のアド
レスに変更し、前記次ポインタがトレースバッファの2
分割した後半にあるときは末尾ポインタの示すアドレス
をトレースバッファの2分割位置のアドレスに変更する
トレースバッファポインタ変更手段と、次ポインタの示
すアドレスにトレース情報を格納したあと、この次ポイ
ンタを次のアドレスを示すように更新すると共に、更新
した次ポインタの示すアドレスが前記末尾ポインタの示
すアドレスと同じときは前記先頭ポインタの示すアドレ
スに書替えるトレース情報収集手段とを有することを特
徴とするトレース情報収集方式。
In a trace information collection method that circulates and stores trace information of an information processing system in a trace buffer that indicates a range of addresses using a start pointer and an end pointer, when a failure notification is received, the next trace information is stored in the trace buffer. If the next pointer indicating the address to be split into two parts of the trace buffer is in the first half of the trace buffer, the address indicated by the first pointer is changed to the address of the two parts of the trace buffer, and the next pointer is in the second half of the trace buffer.
A trace buffer pointer changing means changes the address indicated by the end pointer to the address of the two-divided position of the trace buffer when it is in the latter half of the division, and after storing the trace information at the address indicated by the next pointer, the next pointer is changed to the next address. trace information collection means for updating the address to indicate the address, and rewriting the address to the address indicated by the start pointer when the address indicated by the updated next pointer is the same as the address indicated by the end pointer. Collection method.
JP1117788A 1989-05-10 1989-05-10 Trace information collecting system Pending JPH02294851A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1117788A JPH02294851A (en) 1989-05-10 1989-05-10 Trace information collecting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1117788A JPH02294851A (en) 1989-05-10 1989-05-10 Trace information collecting system

Publications (1)

Publication Number Publication Date
JPH02294851A true JPH02294851A (en) 1990-12-05

Family

ID=14720323

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1117788A Pending JPH02294851A (en) 1989-05-10 1989-05-10 Trace information collecting system

Country Status (1)

Country Link
JP (1) JPH02294851A (en)

Similar Documents

Publication Publication Date Title
JPH06222952A (en) Debug supporting device
US5819024A (en) Fault analysis system
JPH02294851A (en) Trace information collecting system
JP2878264B1 (en) Tracer device, trace data compression method, and compressed trace data reading method
JPH0421999A (en) Divided memory write system
JPH0561717A (en) Program debugging device
JPH03290741A (en) Error logging method
JPH05173846A (en) Fault analysis information tracing method
JP3305841B2 (en) Program control unit
JPH04209044A (en) Data base control system
JPH0478938A (en) Computer operation supporting system
JP2001092690A (en) Time data correcting device and computer system and computer readable recording medium recorded with program
JPH03156643A (en) Collection system for fault information
JPH03255547A (en) Memory dump output system
JPH05334135A (en) Error information display system for abnormal end of program
JP2001051872A (en) Program debugging device and recording medium where program is recorded
JPS63201740A (en) Data editing system for service processor
JPH05225026A (en) Fault recovery system
JP2002318712A (en) Program running history analyzing method
JPS63201741A (en) Dump information editing and outputting system
JPH0981422A (en) Fault analyzing system
JP2001265619A (en) Data tracing system
JPS6136841A (en) Input and output device
JP2000029750A (en) Memory dump file reconstituting system
JPH01248357A (en) System for detecting data write faulty record in early stage