JPS61145657A - History memory control circuit - Google Patents

History memory control circuit

Info

Publication number
JPS61145657A
JPS61145657A JP59268092A JP26809284A JPS61145657A JP S61145657 A JPS61145657 A JP S61145657A JP 59268092 A JP59268092 A JP 59268092A JP 26809284 A JP26809284 A JP 26809284A JP S61145657 A JPS61145657 A JP S61145657A
Authority
JP
Japan
Prior art keywords
counter
register
history memory
control circuit
history
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
JP59268092A
Other languages
Japanese (ja)
Inventor
Kiminori Sato
公則 佐藤
Shinichi Shimizu
慎一 清水
Akira Yasusato
安里 彰
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 JP59268092A priority Critical patent/JPS61145657A/en
Publication of JPS61145657A publication Critical patent/JPS61145657A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To attain ease of analysis of a history data by providing a counter addressing a history memory, its backup register, a comparator circuit detecting a transition point and a control circuit for load/restorage of counter content. CONSTITUTION:Contents of the 1st and 2nd registers 5, 6 are fed to a comparator circuit 7 to check coincidence/dissidence. A comparison result signal is fed to a control circuit 8 to attain control condition of the counter 2. When there is a change in a time series data read in ascending order from a history memory 1, the transition point is detected by the detection of dissidence by the circuit 7. When the dissidence is detected by the circuit 7, the control circuit 8 controls to stop the counter 2. The content of the stopped counter 2 is an address representing the transition point of the time series data. The 1st register 5 is used as a service processor (SVP) interface register and the content of the register 5 is fed to the SVP.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はヒストリメモリ制御回路、特にヒストリメモリ
機構において収集したヒストリデータに関し1時系列デ
ータの変移点を区切りとしたハックトレースを可能とし
、容易にヒストリデータを解析できるようにしたヒスト
リメモリ制御回路に関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention enables hack tracing of history data collected in a history memory control circuit, particularly in a history memory mechanism, by dividing transition points of one time series data, and easily performs hack tracing. This invention relates to a history memory control circuit that can analyze history data.

〔従来の技術と問題点〕[Conventional technology and problems]

ヒストリメモリは、計算機システムにおいてデバッグ等
のために設けられたメモリであって、特定のレジスタ等
の計算機システムに関する内部状態のデータを、順次9
時系列的に記録しておくメモリである。このヒストリメ
モリに格納されたヒストリデータを解析すれば、計算機
の動作履歴をつかむことができ、異常が起きた場合等に
、その原因を究明することができる。通常、ヒストリデ
ータの解析を行う場合1時間経過の逆順にデータの変化
を追跡するバンクトレースがよく用いられる。
History memory is a memory provided in a computer system for debugging, etc., and stores internal state data related to the computer system, such as specific registers, in sequence.
This is a memory that records data in chronological order. By analyzing the history data stored in the history memory, the operation history of the computer can be grasped, and when an abnormality occurs, the cause can be investigated. Normally, when analyzing historical data, a bank trace is often used to track changes in data in reverse order over the course of one hour.

従来のヒストリメモリ機構では、ヒストリデータのバッ
クトレースを取る場合1例えばサービスプロセッサ(S
 V P)上のメモリにヒストリデー夕をロードし、そ
れをsvp上で動作するプログラムで加工することによ
り、ヒストリデータの解析を行うようにされていた。そ
のため、従来方式によれば、資源として、ロードしたヒ
ストリデータを格納するための充分なメモリが必要とな
り。
In the conventional history memory mechanism, when taking a backtrace of history data, for example, a service processor (S
Historical data was analyzed by loading the history data into the memory on the VP) and processing it with a program running on the SVP. Therefore, according to the conventional method, sufficient memory is required as a resource to store the loaded history data.

また、svp上にデータを加工するための全ての手順を
用意しなければならないという問題があった。
Another problem is that all procedures for processing data must be prepared on the svp.

C問題点を解決するための手段〕 本発明は上記問題点の解決を図り、ヒストリメモリに収
集したヒストリデータの解析を容易化するために1時系
列データの変移点を区切りとした効率的なバンクトレー
スを行う手段を提供する。
Means for Solving Problem C] The present invention aims to solve the above problems, and in order to facilitate the analysis of history data collected in the history memory, an efficient method is provided in which transition points of one time series data are separated. Provides a means to perform bank tracing.

そのため1本発明のヒストリメモリ制御回路は。Therefore, the history memory control circuit of the present invention is as follows.

計算機システムにおける内部状態に関するデータを時系
列的に記録するヒストリメモリを制御するヒストリメモ
リ制御回路において、ヒストリメモリをアドレッシング
するカウンタと、該カウンタの内容を保存するバックア
ンプレジスタと、ヒストリメモリにおける上記カウンタ
が指すアドレスから読み出された時系列データに関する
変移点を検出する比較回路と、上記カウンタの動作およ
び上記バックアップレジスタに対する上記カウンタ内容
のロード/リストアを制御する制御回路とを備えたこと
を特徴としている。以下5図面を参照しつつ、実施例に
従って説明する。
A history memory control circuit that controls a history memory that records data related to an internal state in a computer system in time series, comprising: a counter that addresses the history memory; a back amplifier register that stores the contents of the counter; and the counter in the history memory. and a control circuit that controls the operation of the counter and the loading/restoration of the contents of the counter to the backup register. There is. Embodiments will be described below with reference to five drawings.

〔実施例〕〔Example〕

図は本発明の一実施例構成プロツク図を示す。 The figure shows a block diagram of an embodiment of the present invention.

図中、1はヒストリデータが時系列的に記録されるヒス
トリメモリ、2はヒストリメモリlをアドレッシングす
るカウンタ、3はカウンタ2の内容を退避するバックア
ップレジスタ、4はセレクタ、5はヒストリメモリlか
ら読み出したデータが格納される第2レジスタ、6は第
ルジスタ5の内容が1周期分遅れて格納される第2レジ
スタ。
In the figure, 1 is a history memory where history data is recorded in chronological order, 2 is a counter that addresses history memory l, 3 is a backup register that saves the contents of counter 2, 4 is a selector, and 5 is from history memory l. A second register 6 stores the read data, and a second register 6 stores the contents of the register 5 with a delay of one cycle.

7は第ルジスタ5の内容と第2レジスタ6の内容とを比
較する比較回路、8はカウンタ2の動作を制御する制御
信号およびバックアップレジスタ3を制御するバンクア
ップレジスタ制御信号を出力する制御回路を表す。
7 is a comparison circuit that compares the contents of the second register 6 with the contents of the second register 6; and 8 is a control circuit that outputs a control signal that controls the operation of the counter 2 and a bank-up register control signal that controls the backup register 3. represent.

ヒストリメモリ1が設けられた計算機システムが動作し
、ヒストリデータが収集されるときには。
When the computer system provided with the history memory 1 operates and history data is collected.

カウンタ2は1図示省略したサービスプロセッサ(SV
P)からの反転信号および制御回路8からのカウンタ制
御信号によって、逐次、カウントアンプするように制御
される。そして、特定のレジスタ等から得られたヒスト
リデータは、カウンタ2が指すアドレスに9時系列的に
順次記録されていくようになっている。このとき、カウ
ンタ2の内容が更新されると、制御回路8からのバック
アップレジスタ制御信号によって、カウンタ2の内容が
、バンクアップレジスタ3に、そのつと退避される。即
ち、バックアップレジスタ3は、ヒストリデータ収集時
における最終アドレスを保持するようになっている。
The counter 2 is a service processor (SV) (not shown).
The inverted signal from P) and the counter control signal from the control circuit 8 are used to sequentially perform count amplification. The history data obtained from a specific register or the like is sequentially recorded in nine time series at the address pointed to by the counter 2. At this time, when the contents of the counter 2 are updated, the contents of the counter 2 are saved in the bank-up register 3 in response to a backup register control signal from the control circuit 8. That is, the backup register 3 is designed to hold the final address at the time of history data collection.

ヒストリデータの収集後に、バンクトレースによりヒス
トリデータを解析するとき、注目すべきヒストリデータ
を第ルジスタ5へ読み出し、バックトレース開始のため
に、svpから反転信号のON10 F Fを切替えた
信号を投入する。この反転信号に対して、制御回路8は
、バンクアップレジスタ3への書き込みを禁止するバン
クアンプレジスタ制御信号を出力する。また、この反転
信号により、カウンタ2は、以後、順次カウントダウン
しながら、ヒストリメモリ1をアトレンジングする。そ
れに同期して1時系列データは、第ルジスタ5から第2
レジスタ6へと遷移していき。
After collecting the history data, when analyzing the history data by bank trace, read the noteworthy history data to the register 5, and input a signal obtained by switching the inverted signal ON10 F F from svp to start the back trace. . In response to this inverted signal, the control circuit 8 outputs a bank amplifier register control signal that inhibits writing to the bank up register 3. Further, based on this inverted signal, the counter 2 thereafter attrends the history memory 1 while sequentially counting down. In synchronization with this, the first time series data is transferred from the fifth Lujista to the second
Transition to register 6.

第ルジスタ5には、新しく1周期分さかのぼった時系列
データがヒストリメモリ1から読み込まれる。
Time series data that goes back one period is newly read into the register 5 from the history memory 1.

第ルジスタ5の内容と第2レジスタ6の内容とは、比較
回路7に供給され、比較回路7により。
The contents of the first register 5 and the contents of the second register 6 are supplied to a comparator circuit 7.

一致/不一致がチェックされる。その比較結果の信号は
、制御回路8へ供給され、カウンタ2の制御条件とされ
る。ヒストリメモリ1から順次さかのぼって読み出され
た時系列データに変化があると、比較回路7における不
一致検出により、その変移点が検出される。制御回路8
は、比較回路7において不一致が検出されると、カウン
タ2が停止するように制御する。停止したカウンタ2の
内容が1時系列データの変移点を示すアドレスになって
いることになる。なお、第ルジスタ5は。
Match/mismatch is checked. A signal resulting from the comparison is supplied to the control circuit 8 and is used as a control condition for the counter 2. When there is a change in the time-series data sequentially read back from the history memory 1, the point of change is detected by the comparison circuit 7 detecting a mismatch. Control circuit 8
controls the counter 2 to stop when a mismatch is detected in the comparison circuit 7. The contents of the stopped counter 2 become an address indicating a transition point of one time series data. In addition, the 5th Lujista.

SVPインタフェース用レジスタとしても用いられ、第
ルジスタ5の内容は、svpへ供給される。
It is also used as an SVP interface register, and the contents of register 5 are supplied to SVP.

ヒストリデータの収集を中断点から再開するとき9反転
信号を元に戻し、バンクアップレジスタ3の内容を、セ
レクタ4を介してカウンタ2ヘリスドアする。これによ
り、前のヒストリデータ収集時における最終アドレスの
次から1次のヒストリデータを順次記録していくことが
できるようになっている。また、セレクタ4を介して、
アドレスデータをカウンタ2へ設定すれば、新たなアド
レスから、データの記録または読み出しを行うことも可
能である。
When history data collection is resumed from the interrupted point, the 9 inverted signal is returned to its original state, and the contents of the bank up register 3 are transferred to the counter 2 via the selector 4. This makes it possible to sequentially record the primary history data starting from the last address at the time of previous history data collection. Also, via the selector 4,
By setting address data to the counter 2, data can be recorded or read from a new address.

また1本回路では9反転信号を0N10FFすることに
より、順時方向または遂時方向のいずれでも任意に時系
列データの変移点を区切りとしたトレースを行うことが
可能になっている。
Furthermore, in one circuit, by converting the 9 inversion signals to 0N10FF, it is possible to perform tracing using transition points of time-series data as delimiters in either the sequential direction or the sequential direction.

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

以上説明した如く1本発明によれば、ヒストリデータの
解析時に、注目すべき時系列データについて、その変移
点を区切りとして、容易にトレースを行うことができる
ようになり2例えばサービスプロセッサのメモリや、ヒ
ストリデータを処理するプログラムの負担を大幅に軽減
することができるようになる。特に、長い周期で変化す
るようなヒストリデータを解析するとき、自動的にパッ
クトレースにより1変化する個所を検出することができ
るので効率的である。
As explained above, 1. According to the present invention, when analyzing historical data, it becomes possible to easily trace noteworthy time-series data using transition points as delimiters. 2. For example, the memory of a service processor , it becomes possible to significantly reduce the burden on programs that process historical data. Particularly when analyzing historical data that changes over a long period of time, it is efficient because it is possible to automatically detect points that change by one using pack tracing.

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

図は本発明の一実施例構成ブロック図を示す。 図中、1はヒストリメモリ、2はカウンタ、3はバック
アップレジスタ、4はセレクタ、5は第2レジスタ、6
は第2レジスタ、7は比較回路。 8は制御回路を表す。
The figure shows a block diagram of an embodiment of the present invention. In the figure, 1 is the history memory, 2 is the counter, 3 is the backup register, 4 is the selector, 5 is the second register, 6
is the second register, and 7 is the comparison circuit. 8 represents a control circuit.

Claims (1)

【特許請求の範囲】[Claims] 計算機システムにおける内部状態に関するデータを時系
列的に記録するヒストリメモリを制御するヒストリメモ
リ制御回路において、ヒストリメモリをアドレッシング
するカウンタと、該カウンタの内容を保存するバックア
ップレジスタと、ヒストリメモリにおける上記カウンタ
が指すアドレスから読み出された時系列データに関する
変移点を検出する比較回路と、上記カウンタの動作およ
び上記バックアップレジスタに対する上記カウンタ内容
のロード/リストアを制御する制御回路とを備えたこと
を特徴とするヒストリメモリ制御回路。
A history memory control circuit that controls a history memory that records data related to an internal state in a computer system in time series includes a counter that addresses the history memory, a backup register that stores the contents of the counter, and the counter in the history memory. The present invention is characterized by comprising a comparison circuit that detects a transition point regarding the time series data read from the indicated address, and a control circuit that controls the operation of the counter and the loading/restoration of the contents of the counter to the backup register. History memory control circuit.
JP59268092A 1984-12-18 1984-12-18 History memory control circuit Pending JPS61145657A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59268092A JPS61145657A (en) 1984-12-18 1984-12-18 History memory control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59268092A JPS61145657A (en) 1984-12-18 1984-12-18 History memory control circuit

Publications (1)

Publication Number Publication Date
JPS61145657A true JPS61145657A (en) 1986-07-03

Family

ID=17453776

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59268092A Pending JPS61145657A (en) 1984-12-18 1984-12-18 History memory control circuit

Country Status (1)

Country Link
JP (1) JPS61145657A (en)

Similar Documents

Publication Publication Date Title
JPS61145657A (en) History memory control circuit
JPS588363A (en) Collecting system for program execution career information
JPS63118846A (en) Trace collection system for tracking process
JP3268505B2 (en) Sequence control signal recording method
JPS63189949A (en) System for collecting information on cause analysis at end of abnormal program
JPH08161196A (en) Instruction tracing device
RU84591U1 (en) ERROR REGISTRATION SYSTEM AND SOFTWARE RELIABILITY ANALYSIS
JPH02186451A (en) Sampling and controlling system for memory dump of computer system
JPH02242447A (en) Memory dump collecting system
JPH0452835A (en) Program test evaluation system
CN116594750A (en) Function call collection method, device, equipment, storage medium and product
JPH02230335A (en) Tracing system of farmware
JPH01188959A (en) Information history memory
JPS62249242A (en) Memory dump system for computer
JPH02210554A (en) Program control system
JPS6211746B2 (en)
JPH02310737A (en) Tracer control system
JPS59114650A (en) Program tracing system
JPS6073756A (en) Program tracer
JPH0434626A (en) Error logging method
JPH03202930A (en) Bus trace method and bus tracer
JPS605355A (en) Program route recording device
JPH0814798B2 (en) Trace data reading system
JPS6161429B2 (en)
JPH0394340A (en) Control conversion tracing system at the time of cpu runaway