JPH0814798B2 - Trace data reading system - Google Patents

Trace data reading system

Info

Publication number
JPH0814798B2
JPH0814798B2 JP62321851A JP32185187A JPH0814798B2 JP H0814798 B2 JPH0814798 B2 JP H0814798B2 JP 62321851 A JP62321851 A JP 62321851A JP 32185187 A JP32185187 A JP 32185187A JP H0814798 B2 JPH0814798 B2 JP H0814798B2
Authority
JP
Japan
Prior art keywords
trace
trace data
storage device
trace buffer
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.)
Expired - Lifetime
Application number
JP62321851A
Other languages
Japanese (ja)
Other versions
JPH01162949A (en
Inventor
栄伸 宮野
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP62321851A priority Critical patent/JPH0814798B2/en
Publication of JPH01162949A publication Critical patent/JPH01162949A/en
Publication of JPH0814798B2 publication Critical patent/JPH0814798B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 [概要] 情報処理装置から出力されるトレースデータを、外部
記憶装置に転送し格納するようにしたトレースデータの
読出しシステムに関し、 ロストイベントの存在を確実に検出することができる
ようにすることを目的とし、 情報処理装置から出力されるトレースデータを一旦ト
レースバッファ記憶装置に格納した後、外部記憶装置に
転送するようにしたトレースデータの読出しシステムに
おいて、トレースバッファ記憶装置のどこまでトレース
データを格納したかを示すトレースバッファポインタ
と、何回トレースバッファ記憶装置が一杯になったかを
示すサイクルカウンタとを具備して構成する。
DETAILED DESCRIPTION OF THE INVENTION [Outline] A trace data reading system in which trace data output from an information processing device is transferred to an external storage device and stored therein, and the presence of a lost event can be reliably detected. In order to make it possible to store the trace data output from the information processing device in the trace buffer storage device once and then transfer it to the external storage device, in the trace data reading system, It comprises a trace buffer pointer indicating how much trace data has been stored and a cycle counter indicating how many times the trace buffer storage device has been filled.

[産業上の利用分野] 本発明は、情報処理装置から出力されるトレースデー
タを、外部記憶装置に転送し格納するようにしたトレー
スデータの読出しシステムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a trace data reading system in which trace data output from an information processing device is transferred and stored in an external storage device.

情報処理装置のハードウェアに障害が発生した場合の
障害解析や動作解析を行う場合に、当該情報処理装置か
ら発生するトレースデータを収集することが行われる。
そして、この収集したトレースデータを基に障害解析や
動作解析を行うようになっている。ここで、トレースデ
ータとは、ハードウェアの内部事象や動作過程の順次的
な記録をいう。従って、正確な解析を行うためには、ト
レースデータを正確に収集することが必要となる。
When a failure analysis or an operation analysis is performed when a hardware failure occurs in an information processing apparatus, trace data generated from the information processing apparatus is collected.
Then, failure analysis and operation analysis are performed based on the collected trace data. Here, the trace data refers to sequential recording of internal events and operation processes of hardware. Therefore, it is necessary to collect the trace data accurately in order to perform accurate analysis.

[従来の技術] 第6図は、従来のトレースデータ読出しシステムの構
成ブロック図である。情報処理装置1から出力されたト
レースデータは、一旦トレースバッファ記憶装置2に格
納される。ここで、トレースバッファ記憶装置2として
は、CPU(中央処理装置)に接続された主記憶装置や、
システムのハードウェア内部のローカルメモリ等が用い
られる。格納されたトレースデータは、読み出されトレ
ースデータ転送部3を介して、磁気テープ,磁気ディス
ク等の外部記憶装置4に転送され、格納される。
[Prior Art] FIG. 6 is a configuration block diagram of a conventional trace data reading system. The trace data output from the information processing device 1 is temporarily stored in the trace buffer storage device 2. Here, as the trace buffer storage device 2, a main storage device connected to a CPU (central processing unit),
A local memory or the like inside the system hardware is used. The stored trace data is read and transferred to the external storage device 4 such as a magnetic tape or a magnetic disk via the trace data transfer unit 3 and stored therein.

情報処理装置1からのトレースデータは、発生するつ
どトレースデータ転送部3を介して中央処理装置(図示
せず)内に設けられた外部記憶装置4に転送される。こ
こで、若し外部記憶装置4の記憶速度がトレースデータ
の発生頻度よりも速い場合には、トレースバッファ記憶
装置2を設けなくても発生したトレースデータをそのま
ま外部記憶装置4に転送して記憶させることができる。
しかしながら、外部記憶装置4の記憶速度がトレースデ
ータの発生頻度に追従できない場合には、図に示すよう
にトレースデータを一旦格納するトレースバッファ記憶
装置2を設けておき、発生したトレースデータはトレー
スバッファ記憶装置2に格納する。そして、該トレース
バッファ記憶装置2が一杯になった時、該トレースバッ
ファ記憶装置2から信号が発生し、トレースデータ転送
部3に割込み信号として与えられる。トレースデータ転
送部3はこの割込み信号を受けると、トレースバッファ
記憶装置2の内容をデータ転送プログラムにより外部記
憶装置4に転送するようになっている。そして、このト
レースバッファ記憶装置2は、データ転送中もトレース
データの格納が行えるようにするため、通常2個以上の
トレースバッファを内蔵している。
The trace data from the information processing device 1 is transferred to the external storage device 4 provided in the central processing unit (not shown) via the trace data transfer unit 3 each time it is generated. Here, if the storage speed of the external storage device 4 is faster than the frequency of generation of the trace data, the generated trace data is transferred to the external storage device 4 and stored as it is without providing the trace buffer storage device 2. Can be made.
However, when the storage speed of the external storage device 4 cannot follow the frequency of generation of trace data, the trace buffer storage device 2 for temporarily storing the trace data is provided as shown in FIG. It is stored in the storage device 2. When the trace buffer storage device 2 is full, a signal is generated from the trace buffer storage device 2 and given to the trace data transfer section 3 as an interrupt signal. When the trace data transfer unit 3 receives the interrupt signal, the trace data transfer unit 3 transfers the contents of the trace buffer storage device 2 to the external storage device 4 by the data transfer program. The trace buffer storage device 2 usually incorporates two or more trace buffers so that the trace data can be stored even during data transfer.

前述したように、トレースバッファ記憶装置2が一杯
になるとトレースデータ転送部3に割込み信号が与えら
れるが、若しトレースデータ転送部3が割込み禁止で動
作している場合には割込みが受付られない。このため、
トレースバッファ記憶装置2内のトレースバッファにト
レースデータが上書きされて、前のトレースデータが失
われてしまう可能性がある。このようにして失われたト
レースデータをロストイベントという。
As described above, when the trace buffer storage device 2 becomes full, an interrupt signal is given to the trace data transfer unit 3, but if the trace data transfer unit 3 is operating with interrupts disabled, no interrupt will be accepted. . For this reason,
The trace data may be overwritten in the trace buffer in the trace buffer storage device 2 and the previous trace data may be lost. The trace data lost in this way is called a lost event.

第7図を用いてロストイベントを説明する。トレース
バッファ記憶装置2が、トレースバッファ1と2よりな
っているものとする。これらトレースバッファは1番か
ら2m番までの連続した番地をもっているものとする。ト
レースバッファには1番から2m番までのデータが記憶で
きる。従って、2m+1番のデータはトレースバッファ1
の1番に書込まれる。若し、トレースバッファ1の内容
が外部に転送されていなければトレースバッファ1の1
番目から順次データが失われていくことになる。
The lost event will be described with reference to FIG. It is assumed that the trace buffer storage device 2 is composed of the trace buffers 1 and 2. These trace buffers shall have consecutive addresses from 1 to 2m. The trace buffer can store data from 1 to 2m. Therefore, 2m + 1 data is trace buffer 1
No. 1 is written. If the contents of trace buffer 1 are not transferred to the outside, 1 of trace buffer 1
Data will be sequentially lost from the second.

正確なデータ解析を行うためには、ロストイベントを
確実に検出することが必要となる。このため、従来のロ
ストイベント検出法は、第8図に示すようにトレースデ
ータが発生した時の時刻情報(タイムスタンプという)
をトレースデータの一部として、トレースバッファに書
込むようにする。そして、1番目のトレースデータのタ
イムスタンプと2m+1番目のタイムスタンプとの時間差
を検出することにより、ロストイベントを検出してい
る。
In order to perform accurate data analysis, it is necessary to reliably detect lost events. Therefore, the conventional lost event detection method uses time information (called time stamp) when the trace data is generated as shown in FIG.
Is written to the trace buffer as part of the trace data. Then, the lost event is detected by detecting the time difference between the time stamp of the first trace data and the 2m + 1th time stamp.

第9図は、時間差検出法の説明図である。1番目のタ
イムスタンプデータT1と2m+1番目のタイムスタンプ
データT2との差分Δt(=T2−T1)を演算すること
により時間差を検出することがてきる。このようにして
時間差を検出することによりロストイベントを検出する
ことができる。即ち、ロストイベントが発生していない
場合には、時間差はトレースデータ発生周期に基づく一
定値をとる。これに対し、ロストイベントが発生してい
る場合には、検出した時間差Δtが変化するので、ロス
トイベントを検出することができる。なお、ロストイベ
ントはトレースデータ転送部3(第6図参照)内の手プ
ログラムが検出し、トレースデータに付加して外部に記
録する場合もあれば、解析時に検出する場合もある。
FIG. 9 is an explanatory diagram of the time difference detection method. The time difference can be detected by calculating the difference Δt (= T 2 −T 1 ) between the first time stamp data T 1 and the 2m + 1th time stamp data T 2 . In this way, the lost event can be detected by detecting the time difference. That is, when the lost event has not occurred, the time difference has a constant value based on the trace data generation period. On the other hand, when the lost event occurs, the detected time difference Δt changes, so that the lost event can be detected. The lost event may be detected by a hand program in the trace data transfer unit 3 (see FIG. 6), added to the trace data and recorded externally, or detected at the time of analysis.

[発明が解決しようとする問題点] 前述したようなタイムスタンプによるロストイベント
の検出法が使えるのは、トレースデータが一定周期で発
生するハードウェアのトレースデータの時だけである。
トレースデータが非周期で発生する場合、ロストイベン
トが発生しなくてもタイムスタンプの差分Δtは一定に
ならない。また、ロストイベントがあるにも拘らず差分
Δtが一定値をとることも考えられる。更に、第10図に
示すように番地2mにおいてタイムスタンプが丁度1周し
た場合には、トレースデータが一定周期で発生する場合
でもロストイベントの検出ができないという問題があっ
た。
[Problems to be Solved by the Invention] The above-described method of detecting a lost event by a time stamp can be used only when the trace data is hardware trace data that occurs at a constant cycle.
When the trace data occurs aperiodically, the time stamp difference Δt is not constant even if the lost event does not occur. It is also conceivable that the difference Δt may take a constant value in spite of the lost event. Further, as shown in FIG. 10, when the time stamp makes one round at the address 2 m, there is a problem that the lost event cannot be detected even when the trace data is generated at a constant cycle.

本発明はこのような点に鑑みてなされたれものであっ
て、ロストイベントを確実に検出することができるトレ
ースデータ読出しシステムを提供することを目的として
いる。
The present invention has been made in view of the above circumstances, and an object thereof is to provide a trace data reading system capable of reliably detecting a lost event.

[問題点を解決するための手段] 第1図は、本発明の原理ブロック図である。第6図と
同一のものは、同一の符号を付して示す。図において、
11はトレースバッファ記憶装置2のどこまでトレースデ
ータを格納したかを示すトレースバッファポインタ、12
は何回トレースバッファ記憶装置2が一杯になったかを
示すサイクルカウンタである。これらトレースバッファ
ポインタ11及びサイクルカウンタ12は、情報処理装置1
から出力されるトレースデータを共通に受けてその出力
をトレースデータ転送部3に与えている。
[Means for Solving Problems] FIG. 1 is a block diagram showing the principle of the present invention. The same parts as those in FIG. 6 are designated by the same reference numerals. In the figure,
Reference numeral 11 is a trace buffer pointer indicating to what extent trace data is stored in the trace buffer storage device 2,
Is a cycle counter indicating how many times the trace buffer storage device 2 is full. The trace buffer pointer 11 and the cycle counter 12 are the information processing device 1
The trace data output from the same is received in common and the output is given to the trace data transfer unit 3.

[作用] 情報処理装置1から出力されたトレースデータは、ト
レースバッファ記憶装置2に格納されると共に、トレー
スバッファポインタ11及びサイクルカウンタ12にも与え
られる。トレースバッファポインタ11は、トレースデー
タを受けるたびにその値を更新する。サイクルカウンタ
12は、トレースデータを受けてトレースバッファ記憶装
置2が何回一杯になったかを示すデータの更新を行う。
これらのデータは、トレースデータ転送部3に送られ
る。若し、トレースバッファポインタ11がこれから転送
しようとしているトレースバッファの内容を指しておれ
ば、いつでもロストイベントがあることが分かる。ま
た、前回トレースバッファの内容を転送した時のサイク
ルカウンタ12の値を保存しておき、現在のサイクルカウ
ンタ12の値と比較すれば、トレースデータ転送部(中央
処理装置内)3が割込み禁止であった期間にトレースバ
ッファ上のトレースデータ全てがロストイベントになっ
たかどうかを検出することができる。
[Operation] The trace data output from the information processing device 1 is stored in the trace buffer storage device 2 and also given to the trace buffer pointer 11 and the cycle counter 12. The trace buffer pointer 11 updates its value each time the trace data is received. Cycle counter
12 receives the trace data and updates the data indicating how many times the trace buffer storage device 2 has been filled.
These data are sent to the trace data transfer unit 3. If the trace buffer pointer 11 points to the contents of the trace buffer that is about to be transferred, it will always be known that there is a lost event. In addition, if the value of the cycle counter 12 when the contents of the trace buffer were transferred last time is saved and compared with the current value of the cycle counter 12, the trace data transfer unit (in the central processing unit) 3 cannot interrupt. It is possible to detect whether or not all the trace data on the trace buffer has become a lost event in a certain period.

更に、トレースポインタ11とサイクルカウンタ12の関
係を第11図を基に説明する。第11図はトレースバッファ
記憶装置2の一般的構成例を示す図であり、それぞれm
個のトレースデータを格納できるN個のトレースバッフ
ァからなる。トレースポインタ11は、最後に格納したト
レースデータ位置を示し、トレースデータを格納する毎
にトレースバッファ1の1,トレースバッファ1の2,…,
トレースバッファ1のm,トレースバッファ2の1,トレー
スバッファ2の2と順次更新され、トレースバッファN
のmまで更新された時、次にトレースバッファ1の1に
更新される。トレースポインタ11がトレースバッファN
のmを示した時、トレースバッファ記憶装置2がトレー
スデータで満たされたので、サイクルカウンタ12が更新
される。これにより、サイクルカウンタ12の内容は、ト
レースバッファ記憶装置2がトレースデータで満たされ
た回数を表わすことになる。
Further, the relationship between the trace pointer 11 and the cycle counter 12 will be described with reference to FIG. FIG. 11 is a diagram showing an example of a general configuration of the trace buffer storage device 2.
It consists of N trace buffers capable of storing trace data. The trace pointer 11 indicates the position of the last stored trace data, and every time the trace data is stored, the trace buffer 1 is 1, the trace buffer 1 is 2, ...
Trace buffer 1 m, trace buffer 2 1 and trace buffer 2 2 are sequentially updated to trace buffer N
When updated up to m, the trace buffer 1 is updated to 1. Trace pointer 11 is trace buffer N
, The cycle buffer 12 is updated because the trace buffer storage device 2 has been filled with trace data. As a result, the content of the cycle counter 12 represents the number of times the trace buffer storage device 2 has been filled with trace data.

[実施例] 以下、図面を参照して本発明の実施例を詳細に説明す
る。
[Example] Hereinafter, an example of the present invention will be described in detail with reference to the drawings.

第2図は、本発明の一実施例を示す構成ブロック図で
ある。第1図と同一のものは、同一の符号を付して示
す。図において、20はトレースデータ転送部3をその内
部に含む中央処理装置(CPU)、30はトレースバッファ
記憶装置2及びトレースバッファポインタ11,サイクル
カウンタ12をその内部に含む主記憶装置である。トレー
スバッファ記憶装置2は、トレースバッファ1からトレ
ースバッファNまでのN個のトレースバッファを含むも
のとする。40は、チャネル装置で、情報処理装置1から
送られてくるトレースデータを収集して主記憶装置30に
送るトレースデータ収集部41をその内部に含んでいる。
このように構成された装置の動作を説明すれば、以下の
とおりである。
FIG. 2 is a configuration block diagram showing an embodiment of the present invention. The same parts as those in FIG. 1 are designated by the same reference numerals. In the figure, reference numeral 20 is a central processing unit (CPU) that includes the trace data transfer unit 3 therein, and 30 is a main memory that includes the trace buffer storage device 2, the trace buffer pointer 11, and the cycle counter 12 therein. The trace buffer storage device 2 includes N trace buffers from the trace buffer 1 to the trace buffer N. Reference numeral 40 denotes a channel device, which includes therein a trace data collecting unit 41 that collects the trace data sent from the information processing device 1 and sends the trace data to the main storage device 30.
The operation of the apparatus configured as described above will be described below.

情報処理装置1から出力されたトレースデータは、ト
レースデータ収集部41に入る。該トレースデータ収集部
41は、入力されたトレースデータをトレースバッファ記
憶装置2に送ってトレースバッファに書込みと共に、ト
レースバッファポインタ11を更新する。更に、トレース
バッファ一杯になったことを知ると、中央処理装置20に
トレースバッファ番号と、トレースバッファが満たされ
たことを通知する。トレースバッファN(最後のトレー
スバッファ)が満たされたら、該トレースデータ収集部
41はサイクルカウンタ12を更新する。
The trace data output from the information processing device 1 enters the trace data collection unit 41. The trace data collection unit
Reference numeral 41 sends the input trace data to the trace buffer storage device 2 and writes the trace data in the trace buffer, and updates the trace buffer pointer 11. Further, when it knows that the trace buffer is full, it notifies the central processing unit 20 of the trace buffer number and that the trace buffer is full. When the trace buffer N (last trace buffer) is full, the trace data collection unit
41 updates the cycle counter 12.

一方、トレースデータ転送部3は、トレースバッファ
ポインタ11及びサイクルカウンタ12からそれぞれトレー
スバッファポインタ値とサイクルカウント値を読出し、
ロストイベントを計算して外部記憶装置4に書込み、そ
の後通知されたトレースデータバッファ番号のトレース
バッファからトレースデータを読み出し、チャネル装置
40を介して外部記憶装置4に書込む。このように、本発
明によれば確実にロストイベントを検出して外部記憶装
置4に書込んでおくことができる。従って、情報処理装
置1のハードウェアの障害解析や、動作解析を正確に行
うことができる。
On the other hand, the trace data transfer unit 3 reads the trace buffer pointer value and the cycle count value from the trace buffer pointer 11 and the cycle counter 12, respectively,
The lost event is calculated and written in the external storage device 4, and then the trace data is read from the trace buffer of the notified trace data buffer number, and the channel device
Write to external storage device 4 via 40. As described above, according to the present invention, the lost event can be surely detected and written in the external storage device 4. Therefore, it is possible to accurately perform hardware failure analysis and operation analysis of the information processing device 1.

第3図は、トレースデータ収集部41の動作を示すフロ
ーチャートである。該トレースデータ収集部41は、先ず
情報処理装置1から送られてくるトレースデータを収集
し()、収集したトレースデータをトレースバッファ
に書込む()。次に、トレースバッファポインタ11を
更新する()。その後、トレースデータが格納されて
いる当該トレースバッファが満たされたかどうかをチェ
ックする()。当該トレースバッファが満たされてい
た場合には、トレースデータ転送部3へそのトレースバ
ッファ番号と当該トレースバッファを満たしたことを通
知する()。
FIG. 3 is a flowchart showing the operation of the trace data collection unit 41. The trace data collection unit 41 first collects the trace data sent from the information processing device 1 (), and writes the collected trace data in the trace buffer (). Next, the trace buffer pointer 11 is updated (). Then, it is checked whether the trace buffer in which the trace data is stored is full (). When the trace buffer is full, the trace data transfer unit 3 is notified of the trace buffer number and the trace buffer being filled ().

次に、そのトレース番号が最大数を示すNであるかど
うかをチェックする()。若し、最大数Nであった場
合には、サイクルカウンタ12を更新し()、スタート
に戻る。ステップでトレースバッファが満たされてい
ない場合及びステップでトレースバッファが最大数N
でない場合には、ステップに戻る。
Next, it is checked whether the trace number is N indicating the maximum number (). If it is the maximum number N, the cycle counter 12 is updated () and the process returns to the start. If the trace buffer is not full at step and the maximum number of trace buffers at step is N
If not, return to step.

第4図は、トレースデータ転送部3の動作を示すフロ
ーチャートである。該トレースデータ転送部3は、先ず
トレースバッファポインタ11及びサイクルカウンタ12の
内容を読出す()。次に、内部に保存してあるサイク
ルカウンタと読出したサイクルカウンタとの差をとる
()。そして、求めた差が1の場合には、次式により
トレースバッファポインタ11が何番のトレースバッファ
の内部を指しているか算出する(,但し、小数点以下
切捨て)。
FIG. 4 is a flowchart showing the operation of the trace data transfer unit 3. The trace data transfer unit 3 first reads the contents of the trace buffer pointer 11 and the cycle counter 12 (). Next, the difference between the internally stored cycle counter and the read cycle counter is calculated (). If the calculated difference is 1, the number of the trace buffer pointed to by the trace buffer pointer 11 is calculated by the following equation (however, the fractional part is truncated).

Y={(トレースバッファポインタ11の内容−トレース
バッファ1番の先頭アドレス)/(トレースバッファの
長さ)}+1 次に、トレースバッファポインタ11から算出されたバ
ッファ番号Yと、トレースデータ収集部41より通知され
たバッファ番号Xとを比較する()。
Y = {(content of trace buffer pointer 11-start address of trace buffer 1) / (length of trace buffer)} + 1 Next, the buffer number Y calculated from the trace buffer pointer 11 and the trace data collection unit 41 The buffer number X notified from is compared ().

YがXと同じ場合、次式 {(A−B)/C}−1 但し、A=トレースポインタ B=トレースバッファXの先頭アドレス C=トレースバッファエントリのバイト数で算出
される値(ロストイベント値)を外部記憶装置へ転送す
る()。YがXより小さい場合には、ロストイベント
の値としてゼロを外部記憶装置へ転送する()。Yが
Xより大きい場合には、次式 D/E 但し、D=トレースバッファ長 E=トレースバッファエントリのバイト数で算出
される値(ロストイベント値)を外部記憶装置へ転送す
る()。
When Y is the same as X, the following expression {(A−B) / C} −1 where A = trace pointer B = start address of trace buffer X C = value calculated by the number of bytes of trace buffer entry (lost event Value) to the external storage device (). When Y is smaller than X, zero is transferred to the external storage device as the value of the lost event (). When Y is larger than X, the following equation D / E, where D = trace buffer length E = value (lost event value) calculated by the number of bytes of the trace buffer entry is transferred to the external storage device ().

ステップ〜が終了したら、トレースバッファX内
のトレースデータを全て外部記憶装置へ転送し()、
Xがトレースバッファの最終値Nになったかどうかをチ
ェックする()。XがNと等しくなった場合には、動
作を終了させ、等しくない場合にはサイクルカウンタの
値をトレースデータ転送部の内部に保存する()。
When the steps 1 to 3 are completed, all the trace data in the trace buffer X is transferred to the external storage device (),
Check if X has reached the final value N in the trace buffer (). When X becomes equal to N, the operation is terminated, and when not equal, the value of the cycle counter is stored inside the trace data transfer unit ().

第5図は、本発明の他の実施例を示す構成ブロック図
である。図に示す実施例は、トレースバッファポインタ
11とサイクルカウンタ12を、主記憶装置30ではなく、ロ
ーカルメモリ50内に設けたものである。トレース動作の
読み出し動作については、第2図に示す実施例と同様で
あるので、その説明は省略する。
FIG. 5 is a configuration block diagram showing another embodiment of the present invention. In the example shown, the trace buffer pointer
11 and the cycle counter 12 are provided in the local memory 50 instead of the main storage device 30. The read operation of the trace operation is the same as that of the embodiment shown in FIG. 2, and therefore its explanation is omitted.

[発明の効果] 以上、詳細に説明したように、本発明によればトレー
スバッファ記憶装置のどこまでトレースデータを格納し
たかを示すトレースバッファポインタと、何回トレース
バッファ記憶装置が一杯になったかを示すサイクルカウ
ンタを設けることにより、ロストイベントを確実に検出
することができるトレースデータ読出しシステムを提供
することができる。
[Effect of the Invention] As described above in detail, according to the present invention, the trace buffer pointer indicating how much trace data is stored in the trace buffer storage device and the number of times the trace buffer storage device has been filled are displayed. By providing the cycle counter shown, it is possible to provide a trace data reading system capable of surely detecting a lost event.

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

第1図は本発明の原理ブロック図、 第2図は本発明の一実施例を示す構成ブロック図、 第3図はトレースデータ収集部の動作を示すフローチャ
ート、 第4図はトレースデータ転送部の動作を示すフローチャ
ート、 第5図は本発明の他の実施例を示す構成ブロック図、 第6図は従来システムの構成ブロック図、 第7図はロストイベントの説明図、 第8図はロストイベント検出のためのトレースデータの
構成図、 第9図は時間差検出法の説明図、 第10図は時間差検出の説明図、 第11図はトレースバッファ記憶装置の一般的構成例を示
す図である。 第1図において、 1は情報処理装置、2はトレースバッファ記憶装置、3
はトレースデータ転送部、4は外部記憶装置、11はトレ
ースバッファポインタ、12はサイクルカウンタである。
FIG. 1 is a block diagram showing the principle of the present invention, FIG. 2 is a block diagram showing an embodiment of the present invention, FIG. 3 is a flow chart showing the operation of a trace data collection unit, and FIG. 4 is a trace data transfer unit. 5 is a flowchart showing the operation, FIG. 5 is a block diagram showing the configuration of another embodiment of the present invention, FIG. 6 is a block diagram showing the configuration of a conventional system, FIG. 7 is an explanatory diagram of a lost event, and FIG. 8 is a lost event detection. 9 is an explanatory diagram of a time difference detection method, FIG. 10 is an explanatory diagram of time difference detection, and FIG. 11 is a diagram showing a general configuration example of a trace buffer storage device. In FIG. 1, 1 is an information processing device, 2 is a trace buffer storage device, 3
Is a trace data transfer unit, 4 is an external storage device, 11 is a trace buffer pointer, and 12 is a cycle counter.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】情報処理装置から出力されるトレースデー
タを一旦トレースバッファ記憶装置に格納した後、外部
記憶装置に転送し格納するようにしたトレースデータの
読出しシステムにおいて、 トレースバッファ記憶装置のどこまでトレースデータを
格納したかを示すトレースバッファポインタと、 何回トレースバッファ記憶装置が一杯になったかを示す
サイクルカウンタと、 これらトレースバッファポインタとサイクルカウンタの
出力を受けてロストイベントを計算するトレースデータ
転送部 とを具備したことを特徴とするトレースデータ読出しシ
ステム。
1. A trace data reading system in which trace data output from an information processing device is temporarily stored in a trace buffer storage device, and then transferred to an external storage device for storage. A trace buffer pointer that indicates how much data has been stored, a cycle counter that indicates how many times the trace buffer storage device is full, and a trace data transfer unit that receives the output of these trace buffer pointer and cycle counter and calculates a lost event. A trace data reading system comprising:
JP62321851A 1987-12-18 1987-12-18 Trace data reading system Expired - Lifetime JPH0814798B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62321851A JPH0814798B2 (en) 1987-12-18 1987-12-18 Trace data reading system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62321851A JPH0814798B2 (en) 1987-12-18 1987-12-18 Trace data reading system

Publications (2)

Publication Number Publication Date
JPH01162949A JPH01162949A (en) 1989-06-27
JPH0814798B2 true JPH0814798B2 (en) 1996-02-14

Family

ID=18137129

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62321851A Expired - Lifetime JPH0814798B2 (en) 1987-12-18 1987-12-18 Trace data reading system

Country Status (1)

Country Link
JP (1) JPH0814798B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59158652A (en) * 1983-02-28 1984-09-08 Fujitsu Ltd Output control system of logging information
JPS60176151A (en) * 1984-02-23 1985-09-10 Fujitsu Ltd Memory system of bus logger

Also Published As

Publication number Publication date
JPH01162949A (en) 1989-06-27

Similar Documents

Publication Publication Date Title
US5608866A (en) System for measuring and analyzing operation of information processor
US4949303A (en) Information retrieval control system with input and output buffers
JPH0814798B2 (en) Trace data reading system
JP2653296B2 (en) Logging data management system
JPS63244143A (en) Information processing system
JPS61267151A (en) Interface monitor
JPH03290741A (en) Error logging method
JPH0217552A (en) Performance data measuring system
JPS62191948A (en) Disk cache control device
JPS58223854A (en) Data processing system
JP2775830B2 (en) Instruction frequency measurement method
JPH0282334A (en) Bus cycle trace circuit
JPS588363A (en) Collecting system for program execution career information
JPH0326416B2 (en)
JPS6411977B2 (en)
JPS59220851A (en) History information collecting device
JPS607551A (en) Program block tracing system
JPH01188959A (en) Information history memory
JPS64734B2 (en)
JPS586176B2 (en) data collection device
JPH0731618B2 (en) Information processing equipment
JPH04328421A (en) Data recording apparatus
JPH077575B2 (en) Data storage system of data processor
JPH11161516A (en) Covering rate measurement instrument
JPH0312865A (en) Data reader