JP3498702B2 - Computer system and trace information control method used therefor - Google Patents

Computer system and trace information control method used therefor

Info

Publication number
JP3498702B2
JP3498702B2 JP2000370838A JP2000370838A JP3498702B2 JP 3498702 B2 JP3498702 B2 JP 3498702B2 JP 2000370838 A JP2000370838 A JP 2000370838A JP 2000370838 A JP2000370838 A JP 2000370838A JP 3498702 B2 JP3498702 B2 JP 3498702B2
Authority
JP
Japan
Prior art keywords
trace
information
trace information
pattern
stored
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 - Fee Related
Application number
JP2000370838A
Other languages
Japanese (ja)
Other versions
JP2002175201A (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.)
NEC Corp
Original Assignee
NEC Corp
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 Corp filed Critical NEC Corp
Priority to JP2000370838A priority Critical patent/JP3498702B2/en
Publication of JP2002175201A publication Critical patent/JP2002175201A/en
Application granted granted Critical
Publication of JP3498702B2 publication Critical patent/JP3498702B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明はコンピュータシステ
ム及びそれに用いるトレース情報制御方法に関し、特に
コンピュータシステムにおけるシステム自身の状態を示
す情報であるトレース情報の記録を制御する方式に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computer system and a trace information control method used for the same, and more particularly to a system for controlling recording of trace information which is information indicating the state of the system itself in the computer system.

【0002】[0002]

【従来の技術】従来、コンピュータシステムにおいては
ハードウェアやソフトウェアに関わらず、システム自身
の状態を示す情報であるトレース情報を記録する機能を
有している。
2. Description of the Related Art Conventionally, a computer system has a function of recording trace information, which is information indicating the state of the system itself, regardless of hardware or software.

【0003】トレース情報とはシステムが実施した動作
/状態等の情報を、システム内のメモリ領域等に格納し
ていくものであり、例えば時系列順やイベント発生順に
システムがどのモジュールで正常系処理や異常系処理を
実施していたかを知ることができる。そのため、トレー
ス情報は開発時のデバッグ用または障害発生時の調査用
として使用されている。
The trace information is information such as an operation / state performed by the system, which is stored in a memory area or the like within the system. For example, in which module the system performs normal system processing in the order of time series or event occurrence. It is possible to know whether or not abnormal system processing was performed. Therefore, the trace information is used for debugging during development or for investigation when a failure occurs.

【0004】ここで、トレース情報の記録方式として
は、一般的に、ある程度の大きさのメモリ領域をトレー
ス領域として設け、その領域に対して最新のトレース情
報を順次書込み、この領域がいっぱいになった時点で、
古いトレース情報から上書きしていく方式が多い。
Here, as a trace information recording method, generally, a memory area having a certain size is provided as a trace area, and the latest trace information is sequentially written into the area, and this area becomes full. At the time
There are many methods to overwrite old trace information.

【0005】[0005]

【発明が解決しようとする課題】上述した従来のトレー
ス情報の記録方式では、トレース領域に格納されるトレ
ース情報の構成パターンが、システムが正常に動作して
いる場合、一般に同じパターンが格納されることが多
い。
In the above-mentioned conventional trace information recording method, the same pattern is generally stored as the configuration pattern of the trace information stored in the trace area when the system is operating normally. Often.

【0006】また、トレース情報はトレース領域の大き
さに比例したトレース情報しか格納することができな
い。このため、例えばシステムの障害調査等で不具合箇
所を調査する場合、トレース情報をチェックしていく
が、トレース領域内には正常動作パターンしか格納され
ていないことが多く、障害箇所特定の際に何度もトレー
スポインタを変更してトレース情報を採取する必要があ
る。
Further, the trace information can store only the trace information proportional to the size of the trace area. Therefore, for example, when investigating a faulty part such as a system fault investigation, the trace information is checked, but since only the normal operation pattern is often stored in the trace area, what should be done when identifying the faulty part? It is necessary to change the trace pointer every time and collect the trace information.

【0007】 そこで、本発明の目的は上記の問題点を
解消し、より多くのトレース情報を採取することがで
き、効率よく調査することができるコンピュータシステ
ム及びそれに用いるトレース情報制御方法を提供するこ
とにある。
Therefore, an object of the present invention is to solve the above-mentioned problems, to provide a computer system that can collect more trace information, and can efficiently investigate, and a trace information control method used therefor. It is in.

【0008】[0008]

【課題を解決するための手段】本発明によるコンピュー
タシステムは、システム内のある程度の大きさのトレー
ス領域に対して、トレース情報を順次書込んでいく方式
のトレース情報採取機能を有するコンピュータシステム
であって、前記トレース領域に格納されるトレース情報
を監視してこのトレース情報をシステム内に格納された
各々特定パターンのトレース情報であり不均一な長さを
有する複数のパターン情報の各々と比較する手段と、
の比較結果が前記複数のパターン情報のいずれかとの一
致を示す時に前記格納されたトレース情報を特定パター
ンのトレース情報として簡単な形式のトレース情報に変
換してトレース領域に格納する手段とを備えている。
A computer system according to the present invention is a computer system having a trace information collection function of sequentially writing trace information in a trace area of a certain size in the system. The trace information stored in the trace area is monitored and this trace information is stored in the system.
Each is the trace information of a specific pattern, and the uneven length
Means for comparing with each of the plurality of pattern information with, its
Is compared with any one of the plurality of pattern information.
And a means for converting the stored trace information into trace information in a simple format as the trace information of a specific pattern and storing the trace information in the trace area.

【0009】 本発明による他のコンピュータシステム
は、システムからトレース領域に書込まれるトレース情
報を一時的に格納するトレース情報格納手段と、各々
定パターンのトレース情報であり不均一な長さを有する
複数のパターン情報を予め格納するパターン格納手段
と、前記トレース情報格納手段に格納されるトレース情
報と前記パターン格納手段に格納されている複数のパタ
ーン情報各々とを比較する比較手段と、前記比較手段の
比較結果が前記複数のパターン情報のいずれかとの一致
を示す時にその一致したことを示す情報を含むトレース
情報を新たに作成して前記トレース領域へ書込む作成手
段とを備えている。
[0009] Other computer system according to the present invention, the trace information storage section and, respectively JP <br/> heterogeneous Ri trace information der constant pattern for temporarily storing the trace information to be written from the system to the trace area Have a certain length
A plurality of patterns stored a plurality of pattern information and the pattern storage means for previously storing to, the trace information and the pattern storage means to be stored in the trace information storage means
Comparing means for comparing the respective chromatography emissions information, the comparison result is created a new trace information including information indicating that the matched when showing a match with any of the plurality of pattern information the said comparison means And a writing means for writing in the trace area.

【0010】 本発明によるコンピュータシステムのト
レース情報制御方法は、システム内のある程度の大きさ
のトレース領域に対して、トレース情報を順次書込んで
いく方式のトレース情報採取機能を有するコンピュータ
システムのトレース情報制御方法であって、前記トレー
ス領域に格納されるトレース情報を監視してこのトレー
ス情報をシステム内に格納された各々特定パターンのト
レース情報であり不均一な長さを有する複数のパターン
情報の各々と比較するステップと、その比較結果が前記
複数のパターン情報のいずれかとの一致を示す時に前記
格納されたトレース情報を特定パターンのトレース情報
として簡単な形式のトレース情報に変換してトレース領
域に格納するステップとを備えている。
A trace information control method for a computer system according to the present invention is a trace information for a computer system having a trace information collection function of sequentially writing trace information in a trace area of a certain size in the system. a control method, the tray monitors trace information stored in the trace region
Information of each specific pattern stored in the system.
Multiple patterns with race information and non-uniform length
The step of comparing each of the information and the result of the comparison
And a step of converting the stored trace information into trace information in a simple format as the trace information of a specific pattern and storing the trace information in a trace area when showing a match with any of a plurality of pattern information .

【0011】 本発明による他のコンピュータシステム
のトレース情報制御方法は、システムからトレース領域
に書込まれるトレース情報を一時的に格納するトレース
情報格納手段に格納されたトレース情報とパターン格納
手段に予め格納された各々特定パターンのトレース情報
であり不均一な長さを有する複数のパターン情報の各々
とを比較するステップと、その比較結果が前記複数のパ
ターン情報のいずれかとの一致を示す時にその一致した
ことを示す情報を含むトレース情報を新たに作成して前
記トレース領域へ書込むステップとを備えている。
According to another aspect of the present invention, there is provided a trace information control method for a computer system in which trace information written from a system to a trace area is temporarily stored in a trace information storage means and a pattern storage means. has been comparing a respective <br/> of the plurality of pattern information each have a trace information der Ri uneven length of a particular pattern, the comparison result of said plurality Pas
When a match with any of the turn information is shown, a step of newly creating trace information including information indicating the match and writing the trace information in the trace area is provided.

【0012】すなわち、本発明のトレース情報制御方式
は、システム内のある程度の大きさのトレース領域に対
して、トレース情報を順次書込んでいく方式のトレース
情報採取機能を有するシステムにおいて、メモリ内のト
レース領域に格納されるトレース情報を監視する機能を
持ち、格納されたいくつかのトレース情報がシステム内
に格納された特定のトレース情報パターンと一致した場
合、格納されたいくつかのトレース情報を特定パターン
のトレース情報として簡単な形式のトレース情報に変換
してトレース領域に格納するものである。
That is, according to the trace information control method of the present invention, in a system having a trace information collecting function of sequentially writing trace information to a trace area of a certain size in the system, the It has a function to monitor the trace information stored in the trace area, and when some of the stored trace information matches a specific trace information pattern stored in the system, identify some of the stored trace information. The pattern trace information is converted into a simple form of trace information and stored in the trace area.

【0013】より具体的に、本発明のトレース情報制御
方式では、トレース情報格納部にシステムから書込まれ
るトレース情報が一時的に格納され、パターン格納部に
いくつかの特定パターンのトレース情報であるパターン
情報が格納されており、制御部によってトレース情報が
格納されるトレース情報格納部を常に監視している。
More specifically, in the trace information control method of the present invention, the trace information written by the system is temporarily stored in the trace information storage unit, and the trace information of some specific patterns is stored in the pattern storage unit. The pattern information is stored and the control unit constantly monitors the trace information storage unit in which the trace information is stored.

【0014】ここで、制御部はパターン情報格納部に格
納されているトレース情報パターンと一致したトレース
情報が格納された場合、トレースパターンが一致したこ
とを示す情報を含んだトレース情報を新たに作成し、ト
レース領域へ書込む。これによって、トレース領域内
に、従来の方式よりも、より多くのトレース情報を格納
することが可能になる。
Here, when the trace information that matches the trace information pattern stored in the pattern information storage unit is stored, the control unit newly creates trace information including information indicating that the trace patterns match. And write to the trace area. This makes it possible to store more trace information in the trace area than in the conventional method.

【0015】[0015]

【発明の実施の形態】次に、本発明の一実施例について
図面を参照して説明する。図1は本発明の一実施例によ
るコンピュータシステムの構成を示すブロック図であ
る。図1においては、本発明の一実施例によるコンピュ
ータシステムの本発明に係る部分構成を示している。
BEST MODE FOR CARRYING OUT THE INVENTION Next, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of a computer system according to an embodiment of the present invention. FIG. 1 shows a partial configuration according to the present invention of a computer system according to an embodiment of the present invention.

【0016】本発明の一実施例によるコンピュータシス
テムはトレース情報格納部1と、制御部2と、パターン
格納部3と、トレース領域4とを含んで構成されてい
る。ここで、トレース情報格納部1はシステム側で随時
書込みを行ってくるトレース情報を一時的に格納する領
域であり、トレース情報が格納される格納部12と、こ
の領域に格納されたトレース情報の先頭と最後尾アドレ
スとを示す情報を格納するポインタ11とから構成され
ている。
The computer system according to one embodiment of the present invention comprises a trace information storage unit 1, a control unit 2, a pattern storage unit 3, and a trace area 4. Here, the trace information storage unit 1 is an area for temporarily storing the trace information which is written on the system side at any time, and the storage unit 12 for storing the trace information and the trace information stored in this area. It is composed of a pointer 11 that stores information indicating the start and end addresses.

【0017】パターン格納部3はいくつかのトレース情
報パターンを格納可能な領域であり、トレースパターン
を格納するパターン情報31,32,33と、各パター
ン情報の先頭アドレスとパターン情報の最終アドレスと
を格納するアドレス部30とから構成されている。ま
た、パターン情報31,32,33は各パターン情報の
識別情報であるID部311,321,331と、この
パターン情報の有効/無効を示すフラグ部312,32
2,332と、実際にトレース情報パターンが格納され
るパターン部313,323,333とから構成されて
いる。
The pattern storage unit 3 is an area capable of storing some trace information patterns, and stores pattern information 31, 32, 33 for storing trace patterns, a start address of each pattern information and an end address of the pattern information. It is composed of an address section 30 for storing. The pattern information 31, 32, and 33 are ID portions 311, 321, and 331 that are identification information of each pattern information, and flag portions 312 and 32 that indicate validity / invalidity of this pattern information.
2, 332 and pattern portions 313, 323, 333 in which trace information patterns are actually stored.

【0018】制御部2はトレース情報格納部1及びパタ
ーン格納部3各々の情報からトレース情報を作成してト
レース領域4へ格納する機能を持ち、比較部22と判断
部21とから構成されている。
The control unit 2 has a function of creating trace information from the information of each of the trace information storage unit 1 and the pattern storage unit 3 and storing it in the trace area 4, and is composed of a comparison unit 22 and a judgment unit 21. .

【0019】ここで、比較部22はトレース情報格納部
1のポインタ11から格納部12に格納されているトレ
ース情報と、パターン格納部3内の各パターン部31
3,323,333に格納されたトレースパターンとを
順次比較し、その比較結果をフラグ部312,322,
332に格納し、全てのパターン情報31,32,33
のチェックが完了した時点で判断部21へ通知する機能
を有している。
Here, the comparison unit 22 uses the pointer 11 of the trace information storage unit 1 to the trace information stored in the storage unit 12 and each pattern unit 31 in the pattern storage unit 3.
3, 323, 333 are sequentially compared with the trace patterns stored therein, and the comparison result is flag portions 312, 322.
332 and stores all pattern information 31, 32, 33
It has a function of notifying the judgment unit 21 when the check of is completed.

【0020】判断部21はトレース領域4へのトレース
情報書込みの管理を行っており、比較部22から有効な
トレースパターンがあったとの通知が来た場合、該当パ
ターン情報31,32,33内のID部311,32
1,331の情報から新たに簡単な形式のトレース情報
を作成し、そのトレース情報をトレース領域4へ書込
む。
The judgment unit 21 manages the writing of the trace information in the trace area 4, and when the comparison unit 22 notifies that there is a valid trace pattern, the judgment unit 21 stores in the corresponding pattern information 31, 32, 33. ID parts 311 and 32
Trace information in a simple format is newly created from the information of 1,331, and the trace information is written in the trace area 4.

【0021】また、判断部21は有効なトレースパター
ンがなかったとの通知が来た場合、パターン情報31,
32,33に設定されたパターンがなかったことを示す
情報と格納部12に格納された1つ分のトレース情報と
から新たにトレース情報を作成し、そのトレース情報を
トレース領域4へ書込む。さらに、判断部21はトレー
ス情報の書込み後、ポインタ11内の先頭ポインタを次
のトレース情報のアドレスに更新する機能を有してい
る。
When the judgment section 21 is notified that there is no valid trace pattern, the pattern information 31,
Trace information is newly created from the information indicating that there is no pattern set in 32 and 33 and one trace information stored in the storage unit 12, and the trace information is written in the trace area 4. Further, the judgment unit 21 has a function of updating the head pointer in the pointer 11 to the address of the next trace information after writing the trace information.

【0022】これによって、システムが書込んでくるト
レース情報格納部1に格納されるトレース情報がパター
ン格納部3に書込まれているトレースパターンと一致し
た場合には、トレース領域4に格納されるトレース情報
が従来よりも少ない容量ですむため、トレース可能範囲
(期間)が大きくなり、障害調査等でトレース情報を採
取する際には効率よく調査することができる。
As a result, when the trace information stored in the trace information storage unit 1 written by the system matches the trace pattern written in the pattern storage unit 3, it is stored in the trace area 4. Since the trace information requires a smaller capacity than before, the traceable range (period) becomes large, and it is possible to efficiently investigate when collecting trace information for failure investigation.

【0023】図2は本発明の一実施例によるコンピュー
タシステム上での動作例を示すフローチャートである。
図2においては本実施例によるコンピュータシステムで
動作している処理を示しており、各処理A〜Iの実行の
際に、ポインタ11のアドレス情報を参照して4バイト
で構成されたトレース情報を格納部12に随時書込んで
くるものとする。
FIG. 2 is a flowchart showing an operation example on the computer system according to the embodiment of the present invention.
FIG. 2 shows a process operating in the computer system according to the present embodiment. When each process A to I is executed, the trace information composed of 4 bytes is referred to by referring to the address information of the pointer 11. It is assumed that the data is written in the storage unit 12 as needed.

【0024】例えば、図2上でシステムが処理A,B,
C,Dの順で動作した場合(図2ステップS1〜S
4)、格納部12内にはトレース情報A,B,C,Dの
順に書込まれる。また、処理A,E,C,F,Gの順で
動作した場合(図2ステップS1,S5,S3,S6,
S7)、格納部12内にはトレース情報A,E,C,
F,Gの順に格納される。同様に、処理A,E,C,
F,H,Iの順で動作した場合(図2ステップS1,S
5,S3,S6,S8,S9)、格納部12内にはトレ
ース情報A,E,C,F,H,Iの順に格納される。
For example, in FIG. 2, the system processes A, B,
When operating in the order of C and D (steps S1 to S in FIG. 2)
4), the trace information A, B, C, D is written in the storage unit 12 in this order. In the case where the processes A, E, C, F, and G operate in this order (steps S1, S5, S3, S6 in FIG.
S7), the trace information A, E, C,
It is stored in the order of F and G. Similarly, processes A, E, C,
When operating in the order of F, H, I (FIG. 2, steps S1, S
5, S3, S6, S8, S9), and the trace information A, E, C, F, H, I is stored in the storage unit 12 in this order.

【0025】図3は図1のトレース情報格納部1の詳細
な構成を示す図である。図3において、ポインタ11内
には格納部12に格納されているトレース情報の先頭ア
ドレスと最終アドレスとが格納されている。トレース情
報はこの場合、既にトレース情報がアドレス‘012F
h’まで書込まれているものとする。
FIG. 3 is a diagram showing a detailed configuration of the trace information storage unit 1 of FIG. In FIG. 3, the pointer 11 stores the start address and the end address of the trace information stored in the storage unit 12. In this case, the trace information is already at address' 012F.
It is assumed that h'is written.

【0026】尚、格納部12は‘0400h’のサイズ
があるものとし、‘04FFh’まで書込んだ後、‘0
100h’のアドレスに戻ってトレース情報が書込まれ
る方式となっている。
It is assumed that the storage unit 12 has a size of "0400h", and after writing up to "04FFh", the storage unit 12 has "0400h".
It is a system in which the trace information is written back to the address of 100h '.

【0027】図4は図1のパターン格納部3の詳細な構
成を示す図である。図3において、パターン部313,
323,333に格納されているパターン情報は予め設
定されているものとする。この例では3パターン分が格
納されている。
FIG. 4 is a diagram showing a detailed configuration of the pattern storage unit 3 of FIG. In FIG. 3, pattern portions 313,
It is assumed that the pattern information stored in 323 and 333 is preset. In this example, three patterns are stored.

【0028】アドレス部30内には各パターン情報の先
頭アドレスが順次格納されている。また、アドレス部3
0の最終アドレスにはパターン情報の最終アドレスが格
納されている。この場合は‘2039h’となる。
The start address of each pattern information is sequentially stored in the address section 30. Also, the address part 3
The final address of 0 stores the final address of the pattern information. In this case, it is “2039h”.

【0029】パターン情報内のID部はパターン毎に異
なった値が割り当てられ、ここではID=01,02,
03となっている。また、フラグ部分には有効を示す
‘FFh’と無効を示す‘00h’の何れかが設定され
る。
A different value is assigned to the ID portion in the pattern information for each pattern. Here, ID = 01, 02,
It is 03. Further, either “FFh” indicating valid or “00h” indicating invalid is set in the flag portion.

【0030】図5及び図6は図1の比較部22の処理動
作を示すフローチャートであり、図7は本発明の一実施
例によるコンピュータシステムによって新たに作成され
たトレース情報を示す図である。図7(a)は終了#1
であった場合の新トレース情報を示し、図7(b)は終
了#2であった場合の新トレース情報を示している。こ
れら図1〜図7を参照して本発明の一実施例によるコン
ピュータシステムの動作について説明する。
5 and 6 are flow charts showing the processing operation of the comparison unit 22 of FIG. 1, and FIG. 7 is a diagram showing trace information newly created by the computer system according to an embodiment of the present invention. FIG. 7A shows the end # 1
7B shows the new trace information, and FIG. 7B shows the new trace information in the case of end # 2. The operation of the computer system according to the embodiment of the present invention will be described with reference to FIGS.

【0031】図1の比較部22は最初にパターン情報3
1,32,33内の全てのフラグ部312,322,3
32に対して有効を示す‘FFh’を書込む。続いて、
比較部22はポインタ11の先頭アドレスの値‘010
0h’から格納部12のトレース情報Aと、アドレス部
30の情報から各パターン情報31,32,33のフラ
グ部312,322,332が有効となっている最初の
トレース情報パターン部313のトレース情報A,パタ
ーン部323のトレース情報A,パターン部333のト
レース情報Aとを比較する。この場合、比較結果は全て
一致するため、次のトレース情報の比較を行う。
The comparison unit 22 shown in FIG.
All flag parts 312, 322, 3 in 1, 32, 33
Write “FFh”, which indicates validity, to 32. continue,
The comparison unit 22 sets the value of the start address of the pointer 11 to “010”.
From 0h ', the trace information A of the storage unit 12 and the trace information of the first trace information pattern unit 313 in which the flag units 312, 322, 332 of each pattern information 31, 32, 33 are valid from the information of the address unit 30. A, the trace information A of the pattern portion 323, and the trace information A of the pattern portion 333 are compared. In this case, since all the comparison results match, the next trace information is compared.

【0032】次に、比較部22は格納部12から2番目
のトレース情報であるトレース情報Bと、2番目のトレ
ース情報であるパターン部313のトレース情報B,パ
ターン部323のトレース情報E,パターン部333の
トレース情報Bとを比較する。ここで、パターン323
のトレース情報は一致しなかったため、フラグ部322
に対して無効を示す‘00h’を書込む。
Next, the comparison unit 22 outputs the trace information B which is the second trace information from the storage unit 12, the trace information B of the pattern unit 313 which is the second trace information, the trace information E of the pattern unit 323 and the pattern. The trace information B of the unit 333 is compared. Here, the pattern 323
Since the trace information of No match, the flag section 322
'00h', which indicates invalidity, is written.

【0033】さらに、比較部22は格納部12から3番
目のトレース情報であるトレース情報Cと、3番目のト
レース情報であるパターン部313のトレース情報C,
パターン部333のトレース情報Cとを比較する。
Further, the comparing unit 22 stores the trace information C which is the third trace information from the storage unit 12 and the trace information C of the pattern unit 313 which is the third trace information.
The trace information C of the pattern portion 333 is compared.

【0034】このように、比較部22はトレース情報を
順次比較し、4番目の比較が完了した時点でフラグ部3
12,322,332が有効となっているのはフラグ部
312のみとなり、この時点で比較部22は比較が完了
したことを判断部21に対して通知する。
In this way, the comparison unit 22 sequentially compares the trace information, and when the fourth comparison is completed, the flag unit 3
12, 322 and 332 are valid only in the flag part 312, and the comparison part 22 notifies the determination part 21 at this point that the comparison is completed.

【0035】すなわち、比較部22はまずL=N=1,
A=1とし(図5ステップS11)、パターン情報3N
が格納されているかを判別する(図5ステップS1
2)。比較部22はパターン情報3Nが格納されていな
ければ、終了#1を通知する。
That is, the comparison unit 22 first sets L = N = 1,
A = 1 (step S11 in FIG. 5), pattern information 3N
Is stored (step S1 in FIG. 5).
2). If the pattern information 3N is not stored, the comparison unit 22 notifies the end # 1.

【0036】また、比較部22は全てのフラグ部を有効
(‘FFh’)に設定し(図5ステップS13)、ポイ
ンタ11の先頭アドレスからL番目のトレース情報(Z
1)をリードする(図5ステップS14)。その後、比
較部22はL=L+1としてから(図5ステップS1
5)、フラグ部3N2をリードし(図5ステップS1
6)、フラグ部3N2が有効か否かを判別する(図5ス
テップS17)。
Further, the comparator 22 sets all the flag parts to valid ('FFh') (step S13 in FIG. 5), and the L-th trace information (Z
1) is read (step S14 in FIG. 5). After that, the comparison unit 22 sets L = L + 1 (see step S1 in FIG. 5).
5), the flag section 3N2 is read (step S1 in FIG. 5).
6), it is determined whether the flag portion 3N2 is valid (step S17 in FIG. 5).

【0037】比較部22はフラグ部3N2が有効であれ
ば、パターン部3NからA番目のトレース情報(Z2)
をリードし(図5ステップS18)、トレース情報(Z
1,Z2)を比較してそれらが一致しているか否かを判
別する(図5ステップS19)。比較部22はトレース
情報(Z1,Z2)が一致していなければ、フラグ部3
N2を無効(‘00h’)に設定する(図5ステップS
20)。
If the flag section 3N2 is valid, the comparison section 22 determines the A-th trace information (Z2) from the pattern section 3N.
(Step S18 in FIG. 5) and trace information (Z
1, Z2) are compared to determine whether they match (step S19 in FIG. 5). If the trace information (Z1, Z2) does not match, the comparing unit 22 determines the flag unit 3
Set N2 to invalid ('00h') (step S in FIG. 5).
20).

【0038】比較部22はフラグ部3N2が有効でなけ
れば、あるいはトレース情報(Z1,Z2)が一致して
いれば、N=N+1とし(図6ステップS21)、パタ
ーン情報3Nがまだあるかを判別する(図6ステップS
22)。比較部22はパターン情報3Nがまだあれば、
ステップS16に戻って上記の処理を繰り返し行う。
If the flag portion 3N2 is not valid or if the trace information (Z1, Z2) match, the comparing portion 22 sets N = N + 1 (step S21 in FIG. 6) and determines whether the pattern information 3N still exists. Determine (step S in FIG. 6)
22). If the comparison unit 22 still has the pattern information 3N,
Returning to step S16, the above processing is repeated.

【0039】また、比較部22はパターン情報3Nがも
うなければ、N=1,A=A+1とし(図6ステップS
23)、フラグ部3N2が全て無効か否かを判断する
(図6ステップS24)。比較部22はフラグ部3N2
が全て無効であれば、終了#1を通知する。
If there is no pattern information 3N, the comparing section 22 sets N = 1 and A = A + 1 (step S in FIG. 6).
23), it is determined whether or not all flag portions 3N2 are invalid (step S24 in FIG. 6). The comparison unit 22 uses the flag unit 3N2.
If all are invalid, end # 1 is notified.

【0040】比較部22はフラグ部3N2が全て無効で
なければ、フラグ部3X2が1つだけ有効か否かを判断
する(図6ステップS25)。比較部22はフラグ部3
X2が1つだけ有効でなければ、ステップS14に戻っ
て上記の処理を繰り返し行う。比較部22はフラグ部3
X2が1つだけ有効であれば、A番目のトレース情報が
あるか否かを判別する(図6ステップS26)。
If all the flag portions 3N2 are invalid, the comparing portion 22 determines whether only one flag portion 3X2 is valid (step S25 in FIG. 6). The comparison unit 22 uses the flag unit 3
If only one X2 is not valid, the process returns to step S14 and the above process is repeated. The comparison unit 22 uses the flag unit 3
If only one X2 is valid, it is determined whether or not there is A-th trace information (step S26 in FIG. 6).

【0041】比較部22はA番目のトレース情報があれ
ば、ステップS14に戻って上記の処理を繰り返し行
う。また、比較部22はA番目のトレース情報がなけれ
ば、終了#2を通知する。
If there is the A-th trace information, the comparing section 22 returns to step S14 and repeats the above processing. If there is no A-th trace information, the comparison unit 22 notifies the end # 2.

【0042】判別部21は比較部22から終了#1が通
知されると、該当するトレースパターンは無かったもの
と判断し、新しいトレース情報を作成する。図7(a)
に新しいトレース情報のフォーマット例を示す。この場
合、トレースパターン該当無しを示す情報としてID情
報=‘00h’を設定し、格納部12内の1番目のトレ
ース情報を結合して新しいトレース情報を作成してい
る。
When the judging section 21 is notified of the end # 1 from the comparing section 22, it judges that there is no corresponding trace pattern and creates new trace information. Figure 7 (a)
Shows an example of new trace information format. In this case, ID information = '00h' is set as information indicating that the trace pattern is not applicable, and the first trace information in the storage unit 12 is combined to create new trace information.

【0043】判断部21はこの新しいトレース情報をト
レース領域4へ格納した後、ポインタ11内の先頭アド
レスを2番目のトレース情報アドレスである‘104
h’へ更新する。
After storing the new trace information in the trace area 4, the judging section 21 sets the start address in the pointer 11 to the second trace information address' 104.
Update to h '.

【0044】また、判断部21は比較部22から終了#
2が通知されると、該当トレースパターンがあるものと
判断し、新しいトレース情報を作成する。図7(b)に
新しいトレース情報のフォーマット例を示す。この場
合、該当トレースパターンのID情報=‘01h’を設
定し、後はダミー情報を設定して新しいトレース情報を
作成している。
Further, the judgment unit 21 ends the comparison unit 22 with the end #
When 2 is notified, it is determined that there is a corresponding trace pattern, and new trace information is created. FIG. 7B shows a format example of new trace information. In this case, ID information of the corresponding trace pattern = '01h' is set, and then dummy information is set to create new trace information.

【0045】判断部21はこの新しいトレース情報をト
レース領域4へ格納した後、ポインタ11内の先頭アド
レスをトレースパターン分のアドレスである‘110
h’へ更新する。尚、トレース領域4に格納されたトレ
ース情報をリードする際には、ID情報を参照してトレ
ースパターンを展開してトレース情報を元の形に戻して
出力する。
After storing the new trace information in the trace area 4, the judging section 21 sets the start address in the pointer 11 to the address of the trace pattern, '110.
Update to h '. When reading the trace information stored in the trace area 4, the ID information is referenced to expand the trace pattern, restore the trace information to the original form, and output the trace information.

【0046】このように、トレース領域4内に格納され
るトレースパターンを定義し、このパターンのトレース
情報を簡単な形式でトレース領域に格納することによっ
て、従来の方式よりも、より多くのトレース情報を採取
することができる。
As described above, by defining the trace pattern to be stored in the trace area 4 and storing the trace information of this pattern in the trace area in a simple format, more trace information than the conventional method can be obtained. Can be collected.

【0047】よって、システムの障害調査等で不具合箇
所を調査する際にも、トレース情報がより多くの範囲
(期間)で採取することができるため、トレースポイン
タの設定回数を従来よりも少なくすることができ、効率
よく調査することができる。
Therefore, the trace information can be collected in a larger range (period) even when investigating a defective portion such as a system failure investigation. Therefore, the number of times of setting the trace pointer can be made smaller than before. It is possible to investigate efficiently.

【0048】尚、判断部21内にトレース領域4に格納
したトレースパターンを監視し、終了#1(トレースパ
ターン該当無し)として格納されたトレース情報から新
たにトレースパターンを作成し、パターン格納部3内に
パターン情報を追加する機能を設け、パターン格納部3
内に予めトレース情報31,32,33を設定すること
なしにトレース領域4内に格納することも可能である。
The trace pattern stored in the trace area 4 in the judging section 21 is monitored, a new trace pattern is created from the trace information stored as end # 1 (no trace pattern is applicable), and the pattern storing section 3 The pattern storage unit 3 is provided with a function for adding pattern information.
It is also possible to store the trace information 31, 32, 33 in the trace area 4 without setting it in advance.

【0049】[0049]

【発明の効果】以上説明したように本発明によれば、シ
ステム内のある程度の大きさのトレース領域に対して、
トレース情報を順次書込んでいく方式のトレース情報採
取機能を有するコンピュータシステムにおいて、トレー
ス領域に格納されるトレース情報を監視し、トレース領
域に格納されるトレース情報がシステム内に格納された
特定のトレース情報パターンと一致した時に当該トレー
ス情報を特定パターンのトレース情報として簡単な形式
のトレース情報に変換してトレース領域に格納すること
によって、より多くのトレース情報を採取することがで
き、効率よく調査することができるという効果がある。
As described above, according to the present invention, for a trace area of a certain size in the system,
In a computer system having a trace information collection function of sequentially writing trace information, the trace information stored in the trace area is monitored, and the trace information stored in the trace area is stored in the system. When the trace information matches with the information pattern, the trace information is converted into a trace information in a simple format as the trace information of the specific pattern and stored in the trace area, so that more trace information can be collected, and efficient investigation is possible. The effect is that you can.

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

【図1】本発明の一実施例によるコンピュータシステム
の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a computer system according to an embodiment of the present invention.

【図2】本発明の一実施例によるコンピュータシステム
上での動作例を示すフローチャートである。
FIG. 2 is a flowchart showing an operation example on a computer system according to an embodiment of the present invention.

【図3】図1のトレース情報格納部の詳細な構成を示す
図である。
FIG. 3 is a diagram showing a detailed configuration of a trace information storage unit in FIG.

【図4】図1のパターン格納部の詳細な構成を示す図で
ある。
FIG. 4 is a diagram showing a detailed configuration of a pattern storage unit in FIG.

【図5】図1の比較部の処理動作を示すフローチャート
である。
5 is a flowchart showing a processing operation of a comparison unit in FIG.

【図6】図1の比較部の処理動作を示すフローチャート
である。
FIG. 6 is a flowchart showing a processing operation of a comparison unit in FIG.

【図7】(a),(b)は本発明の一実施例によるコン
ピュータシステムによって新たに作成されたトレース情
報を示す図である。
7A and 7B are diagrams showing trace information newly created by a computer system according to an embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1 トレース情報格納部 2 制御部 3 パターン格納部 4 トレース領域 11 ポインタ 12 格納部 21 判断部 22 比較部 30 アドレス部 31,32,33 パターン情報 311,321,331 ID部 312,322,332 フラグ部 313,323,333 パターン部 1 Trace information storage 2 control unit 3 pattern storage 4 Trace area 11 pointers 12 Storage 21 Judgment Department 22 Comparison section 30 address section 31, 32, 33 pattern information 311, 321, 331 ID part 312, 322, 332 Flag part 313, 323, 333 pattern part

Claims (8)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 システム内のある程度の大きさのトレー
ス領域に対して、トレース情報を順次書込んでいく方式
のトレース情報採取機能を有するコンピュータシステム
であって、前記トレース領域に格納されるトレース情報
を監視してこのトレース情報をシステム内に格納された
各々特定パターンのトレース情報であり不均一な長さを
有する複数のパターン情報の各々と比較する手段と、
の比較結果が前記複数のパターン情報のいずれかとの一
致を示す時に前記格納されたトレース情報を特定パター
ンのトレース情報として簡単な形式のトレース情報に変
換してトレース領域に格納する手段とを有することを特
徴とするコンピュータシステム。
1. A computer system having a trace information collecting function of sequentially writing trace information to a trace area of a certain size in the system, wherein the trace information is stored in the trace area. Monitor this trace information stored in the system
Each is the trace information of a specific pattern, and the uneven length
Means for comparing with each of the plurality of pattern information with, its
Is compared with any one of the plurality of pattern information.
And a means for converting the stored trace information into trace information in a simple format as trace information of a specific pattern and storing the trace information in a trace area.
【請求項2】 システムからトレース領域に書込まれる
トレース情報を一時的に格納するトレース情報格納手段
と、各々特定パターンのトレース情報であり不均一な長
さを有する複数のパターン情報を予め格納するパターン
格納手段と、前記トレース情報格納手段に格納されるト
レース情報と前記パターン格納手段に格納されている
数のパターン情報各々とを比較する比較手段と、前記比
較手段の比較結果が前記複数のパターン情報のいずれか
との一致を示す時にその一致したことを示す情報を含む
トレース情報を新たに作成して前記トレース領域へ書込
む作成手段とを有することを特徴とするコンピュータシ
ステム。
2. A temporarily and trace information storing means for storing, each non-uniform length Ri trace information der specific pattern trace information is written to the trace area from the system
Double stored a pattern storage means for previously storing a plurality of pattern information, the trace information stored in the trace information storage means to said pattern storing means having of
Comparing means for comparing each of the plurality of pattern information, and the comparison result of the comparing means is any one of the plurality of pattern information.
And a creating means for newly creating trace information including information indicating the match and writing the trace information in the trace area.
【請求項3】 前記作成手段は、前記比較手段の比較結
果が不一致を示す時にその不一致を示す情報と前記トレ
ース情報格納手段に格納されるトレース情報とを含むト
レース情報を新たに作成して前記トレース領域へ書込む
よう構成したことを特徴とする請求項2記載のコンピュ
ータシステム。
3. The creating means newly creates trace information including information indicating the mismatch when the comparison result of the comparing means indicates a mismatch and the trace information stored in the trace information storing means, and The computer system according to claim 2, wherein the computer system is configured to write in the trace area.
【請求項4】 前記作成手段は、前記比較手段の比較結
果が不一致を示す時にそのトレース情報格納手段に格納
されるトレース情報を新たなパターン情報として前記パ
ターン格納手段に格納するよう構成したことを特徴とす
る請求項2または請求項3記載のコンピュータシステ
ム。
4. The creating means is configured to store the trace information stored in the trace information storing means as new pattern information in the pattern storing means when the comparison result of the comparing means indicates a mismatch. A computer system according to claim 2 or claim 3 characterized in that.
【請求項5】 システム内のある程度の大きさのトレー
ス領域に対して、トレース情報を順次書込んでいく方式
のトレース情報採取機能を有するコンピュータシステム
のトレース情報制御方法であって、前記トレース領域に
格納されるトレース情報を監視してこのトレース情報を
システム内に格納された各々特定パターンのトレース情
報であり不均一な長さを有する複数のパターン情報の各
々と比較するステップと、その比較結果が前記複数のパ
ターン情報のいずれかとの一致を示す時に前記格納され
たトレース情報を特定パターンのトレース情報として簡
単な形式のトレース情報に変換してトレース領域に格納
するステップとを有することを特徴とするトレース情報
制御方法
5. A trace information control method for a computer system having a trace information collection function of sequentially writing trace information to a trace area of a certain size in the system, wherein the trace area is stored in the trace area. Monitor the stored trace information and display this trace information.
Trace information of each specific pattern stored in the system
Each of a plurality of pattern information having a non-uniform length
And the result of the comparison.
And a step of converting the stored trace information into trace information in a simple format as trace information of a specific pattern and storing the trace information in a trace area when it indicates a match with any of the turn information. Way .
【請求項6】 システムからトレース領域に書込まれる
トレース情報を一時的に格納するトレース情報格納手段
に格納されたトレース情報とパターン格納手段に予め格
納された各々特定パターンのトレース情報であり不均一
な長さを有する複数のパターン情報の各々とを比較する
ステップと、その比較結果が前記複数のパターン情報の
いずれかとの一致を示す時にその一致したことを示す情
報を含むトレース情報を新たに作成して前記トレース領
域へ書込むステップとを有することを特徴とするトレー
ス情報制御方法
Trace information Der according to claim 6, wherein each previously stored from the system temporarily stores the trace information stored in the trace information storage means for the pattern storage unit trace information is written to the trace area specific pattern Ri not Uniform
Comparing a respective plurality of pattern information having a length, the comparison result of said plurality of pattern information
A trace information control method comprising the step of newly creating trace information including information indicating the coincidence with any one of the coincidences and writing the trace information in the trace area.
【請求項7】 前記トレース情報を新たに作成して前記
トレース領域へ書込むステップは、前記比較結果が不一
致を示す時にその不一致を示す情報と前記トレース情報
格納手段に格納されるトレース情報とを含むトレース情
報を新たに作成して前記トレース領域へ書込むようにし
たことを特徴とする請求項6記載のトレース情報制御
7. The step of newly creating the trace information and writing the trace information in the trace area includes the information indicating the mismatch when the comparison result indicates the mismatch and the trace information stored in the trace information storage means. 7. The trace information control method according to claim 6, wherein the trace information including the new information is created and written in the trace area.
Law .
【請求項8】 前記トレース情報を新たに作成して前記
トレース領域へ書込むステップは、前記比較結果が不一
致を示す時にそのトレース情報格納手段に格納されるト
レース情報を新たなパターン情報として前記パターン格
納手段に格納するようにしたことを特徴とする請求項6
または請求項7記載のトレース情報制御方法
8. The step of newly creating the trace information and writing the trace information in the trace area uses the trace information stored in the trace information storage means as new pattern information when the comparison result shows a mismatch. 7. The storage means is stored in a storage means.
Alternatively, the trace information control method according to claim 7.
JP2000370838A 2000-12-06 2000-12-06 Computer system and trace information control method used therefor Expired - Fee Related JP3498702B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000370838A JP3498702B2 (en) 2000-12-06 2000-12-06 Computer system and trace information control method used therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000370838A JP3498702B2 (en) 2000-12-06 2000-12-06 Computer system and trace information control method used therefor

Publications (2)

Publication Number Publication Date
JP2002175201A JP2002175201A (en) 2002-06-21
JP3498702B2 true JP3498702B2 (en) 2004-02-16

Family

ID=18840651

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000370838A Expired - Fee Related JP3498702B2 (en) 2000-12-06 2000-12-06 Computer system and trace information control method used therefor

Country Status (1)

Country Link
JP (1) JP3498702B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5024252B2 (en) * 2008-09-24 2012-09-12 日本電気株式会社 Trace information acquisition device, trace information acquisition program, and trace information acquisition method
JP5501309B2 (en) * 2011-08-23 2014-05-21 京セラドキュメントソリューションズ株式会社 Electronic apparatus and image forming apparatus
GB2532285A (en) * 2014-11-17 2016-05-18 Ibm Request monitoring
JP6353816B2 (en) * 2015-08-03 2018-07-04 日本電信電話株式会社 Structured log generation device, structured log generation method, and program

Also Published As

Publication number Publication date
JP2002175201A (en) 2002-06-21

Similar Documents

Publication Publication Date Title
EP0447995A2 (en) Analyzing device for saving semiconductor memory failures
CN111367584B (en) Power supply adaptation method and device and computer readable storage medium
JP3498702B2 (en) Computer system and trace information control method used therefor
US20070047346A1 (en) Semiconductor integrated circuit
JP3104685B2 (en) System log recording device, system log recording method, and recording medium
CN114003174A (en) Erasure code storage method and system and electronic equipment
JPS62245348A (en) Method and device for updating data base
JP3491379B2 (en) Information processing apparatus and trace information storage method
JP3260711B2 (en) Memory patrol method and control circuit
JP2009042895A (en) Chain memory device and management method therefor
CN113468105A (en) Data structure of data snapshot, related data processing method, device and system
CN113076237B (en) Memory performance testing method and system and computer readable storage medium
CN114581808A (en) Picture consistency detection method and device, storage equipment and readable storage medium
JP3130870B2 (en) Memory dump file reconstruction method
JP2002108610A (en) Problem management system and managing method
JP2004030505A (en) Method for recording program trace data and trace memory
JP3378975B2 (en) Fault diagnostic device
JPH1124958A (en) Trace data reduction system
JPH07248810A (en) Numerical controller
JP3291391B2 (en) Arithmetic unit test equipment
CN117349194A (en) EEPROM safe storage management method
JPH1049405A (en) Device and method for collecting and storage medium stored with trace
CN113127247A (en) Data acquisition method, system, device and medium
CN116880918A (en) Component arrangement and monitoring method and system
JP2000353088A (en) Rewritable program writing device for non-volatile memory

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071205

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081205

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091205

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091205

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101205

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101205

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111205

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111205

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121205

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees