JPH05120064A - Trace acquisition system - Google Patents

Trace acquisition system

Info

Publication number
JPH05120064A
JPH05120064A JP3284309A JP28430991A JPH05120064A JP H05120064 A JPH05120064 A JP H05120064A JP 3284309 A JP3284309 A JP 3284309A JP 28430991 A JP28430991 A JP 28430991A JP H05120064 A JPH05120064 A JP H05120064A
Authority
JP
Japan
Prior art keywords
trace
information
trace information
written
address
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
JP3284309A
Other languages
Japanese (ja)
Inventor
Shinji Mizuno
伸治 水野
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 Chubu 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 Chubu Ltd filed Critical NEC Software Chubu Ltd
Priority to JP3284309A priority Critical patent/JPH05120064A/en
Publication of JPH05120064A publication Critical patent/JPH05120064A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To attain the high speed of the editing and the output of trace information. CONSTITUTION:This system is provided with a grouped information item setting means 13 which sets an objective information item to be grouped from among each information item to constitute the trace information picked through the tracing operation of one time, and delivers a relative position in the trace information to a trace information write-in means 14, and a trace information addition processing means which finds out the trace information having the same value as the value of the information item having been the object of grouping among each information item to constitute the trace information written just before by the trace information write-in means 14 from among the trace information written before in a trace area, and embeds an address on a memory of this trace information there. Thus, in the case that the trace information of the same event is retrieved and outputted at the time of editing and outputting the trace information, the trace information of the same event can be taken out directly even without searching it one after another.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、トレース採取方式に関
し、特にトレース情報を収集する機能を持つ計算機シス
テムにおけるトレース採取方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a trace collection method, and more particularly to a trace collection method in a computer system having a function of collecting trace information.

【0002】[0002]

【従来の技術】近年、計算機システムは障害解析時に有
効な情報を残す機能としてトレース採取機能とトレース
編集出力機能の搭載が必須になっている。以前はスルー
プット向上のためにトレース情報の採取によるオーバヘ
ッドをできるだけ減らすことを前提に作られていたの
で、トレース情報を編集し、ラインプリンタ等の出力装
置に出力する時に、編集しやすい仕組みをトレース採取
機能に持たせることは殆ど考慮されなかった。従って、
トレース情報の編集出力時の処理速度の向上についても
考慮されなかった。しかし、近年のハードウェアの技術
革新により多少のオーバヘッドは吸収され、逆に、採取
されたトレース情報を全部ラインプリンタ等に出力する
のでなく、障害の解析に必要な情報のみをCRTなどの
端末に会話形式ですばやく出力する機能が望まれるよう
になり、いくつかの方法が提案されている。
2. Description of the Related Art In recent years, it has become essential for a computer system to include a trace collection function and a trace edit output function as a function of leaving effective information during failure analysis. Previously, it was made on the premise of reducing the overhead of collecting trace information as much as possible to improve throughput, so when editing trace information and outputting it to an output device such as a line printer, a mechanism that is easy to edit is used. Little thought was given to having a function. Therefore,
No consideration was given to improving the processing speed when editing and outputting trace information. However, due to recent technological innovation of hardware, some overhead is absorbed, and conversely, not all of the collected trace information is output to a line printer, but only the information necessary for failure analysis is output to a terminal such as a CRT. The ability to output quickly in a conversational form has become desirable, and several methods have been proposed.

【0003】従来のこの種のトレース採取方式は、トレ
ース採取機能としてトレース情報をメモリ等に書き込ん
だ時、次のトレース情報を書き込むためのメモリ上のア
ドレスを今書き込んだトレース情報の中に追加して書き
込むことにより、トレース情報の編集出力時の処理速度
の向上を実現している。
In the conventional trace collecting method of this type, when the trace information is written in a memory or the like as a trace collecting function, an address on the memory for writing the next trace information is added to the trace information just written. By writing the information, the processing speed at the time of editing and outputting the trace information is improved.

【0004】[0004]

【発明が解決しようとする課題】上述した従来のトレー
ス採取方式では、トレース編集出力時に、単に次のトレ
ース情報の先頭位置が直接認識できるということであ
り、採取されたトレース情報をシーケンシャルに検索し
たり出力したりする場合には、次に出力すべきトレース
情報の先頭アドレスがすばやく認識できるので、処理速
度の向上に有効であるが、トレース情報を構成する各情
報項目において、同じ値を持つような同一種類のトレー
ス情報を検索したり出力する場合には、全く効果がない
という欠点がある。
In the above-mentioned conventional trace collection method, the beginning position of the next trace information can be directly recognized at the time of trace editing output, and the collected trace information is sequentially searched. When outputting or outputting, the start address of the trace information to be output next can be recognized quickly, which is effective in improving the processing speed. However, it is necessary to have the same value for each information item that composes the trace information. However, there is a drawback that it has no effect when searching or outputting the same type of trace information.

【0005】本発明の目的は、1回のトレース動作によ
り採取されるトレース情報を構成する各情報項目の中か
らグループ化の対象とする情報項目を設定しトレース情
報内での相対位置をトレース情報書込み手段14に渡す
グループ化情報項目設定手段13と、トレース情報書込
み手段14により直前に書込まれたトレース情報を構成
する各情報項目の中で、グレープ化の対象とした情報項
目の値と同じ値を持つトレース情報とを、既にトレース
エリアに書込まれたトレース情報の中から捜し出してそ
こにこのトレース情報のメモリ上のアドレスを埋め込む
トレース情報付加処理手段とを有し、あらかじめグルー
プ化の対象とする情報項目を設定し、その情報項目のト
レース情報内での相対位置を記憶しておき、トレース情
報を書き込む時にトレース情報を構成する各情報項目の
中からグループ化の設定をした情報項目の値が同じであ
るトレース情報どうしをポインタで関連付けることによ
り、上記の欠点を解消し、トレース情報を編集出力する
時に同一事象のトレース情報を検索したり出力したりす
る場合に、順に捜さなくてもダイレクトに取り出すこと
ができ、処理速度を向上できるトレース採取方式を提供
することにある。
An object of the present invention is to set an information item to be grouped from the information items constituting the trace information collected by one trace operation, and set the relative position in the trace information to the trace information. Among the grouping information item setting means 13 to be passed to the writing means 14 and each of the information items constituting the trace information written immediately before by the trace information writing means 14, the value is the same as the value of the information item which is the object of the gradation. Trace information having a value is searched from the trace information already written in the trace area, and the trace information addition processing means for embedding the address on the memory of this trace information therein is provided, and the target of grouping in advance. When setting the information item to be set, memorizing the relative position of the information item in the trace information, and writing the trace information Among the information items that make up the race information, the values of the information items for which grouping has been set are the same. By associating the trace information with a pointer, the above-mentioned drawbacks are eliminated and the same when editing and outputting the trace information. An object of the present invention is to provide a trace collection method that can directly retrieve the trace information of an event without searching in order when the trace information of the event is output or output, and can improve the processing speed.

【0006】[0006]

【課題を解決するための手段】本発明のトレース採取方
式は、トレース情報を収集する機能と収集したトレース
情報を編集し出力する機能を有する計算機システムにお
けるトレース採取方式において、(A)トレース要求を
受付け該当するトレース情報を収集するトレース情報収
集手段と、(B)トレース情報収集手段により収集され
たトレース情報をメモリのトレースエリアに書き込むト
レース情報書き込み手段と、(C)1回のトレース動作
により採取されるトレース情報を構成する各情報項目の
中のうちグループ化の対象とする情報項目のトレース情
報内での相対位置をトレース情報書き込み手段に渡すグ
ループ化情報項目設定手段と、(D)トレース情報書き
込み手段により直前に書き込まれたトレース情報を構成
する各情報項目の中で、グループ化の対象とした情報項
目の値と同じ値を持つトレース情報とを、既にトレース
エリアに書き込まれたトレース情報の中から捜し出して
この既にトレースエリアに書き込まれたトレース情報の
中に直前に書き込まれたトレース情報のメモリ上のアド
レスを埋め込むトレース情報付加処理手段と、(E)ト
レース情報を構成する情報項目の中からグループ化情報
項目設定手段によって設定された情報項目が取り得る値
ごとに最後にトレース情報書き込み手段によって書き込
まれたメモリ上のアドレスを記憶しておく値別アドレス
記憶表とを有している。
According to the trace collection method of the present invention, in a trace collection method in a computer system having a function of collecting trace information and a function of editing and outputting the collected trace information, (A) trace request Acceptance: Trace information collecting means for collecting the relevant trace information, (B) trace information writing means for writing the trace information collected by the trace information collecting means in the trace area of the memory, and (C) collecting by one trace operation. Grouping information item setting means for passing to the trace information writing means the relative position in the trace information of the information items to be grouped among the respective information items constituting the trace information to be recorded, (D) trace information Of each information item that constitutes the trace information written immediately before by the writing means Then, the trace information having the same value as the value of the information item targeted for grouping is searched from the trace information already written in the trace area, and the trace information immediately before is written in this trace information already written in the trace area. Trace information addition processing means for embedding the address on the memory of the trace information written in, and (E) For each possible value of the information item set by the grouping information item setting means from the information items forming the trace information And a value-based address storage table for storing the address on the memory last written by the trace information writing means.

【0007】[0007]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0008】図1は本発明の一実施例のトレース採取方
式のブロック図である。
FIG. 1 is a block diagram of a trace sampling system according to an embodiment of the present invention.

【0009】図1において、本実施例のトレース採取方
式は、トレース採取部11と、トレース情報収集手段1
2と、グループ化情報項目設定手段13と、トレース情
報書き込み手段14と、トレース情報付加処理手段15
と、値別アドレス記憶表16と、トレースエリア17
と、メモリ上のアドレスがB1から始まるブロックX1
8と、メモリ上のアドレスがT1から始まるテーブルX
19と、メモリ上のアドレスがB2から始まるブロック
Y20とから構成される。
In FIG. 1, the trace collection method of this embodiment is the trace collection unit 11 and the trace information collection means 1.
2, grouping information item setting means 13, trace information writing means 14, and trace information addition processing means 15
, Address storage table 16 by value, and trace area 17
And the block X1 whose address on the memory starts from B1
8 and the table X whose address on the memory starts from T1
19 and a block Y20 whose address on the memory starts from B2.

【0010】図2は図1中のトレースエリア17の内容
を示す構成図である。
FIG. 2 is a block diagram showing the contents of the trace area 17 in FIG.

【0011】図2において、本実施例のトレースエリア
17は、第1レコード21と、第2レコード22と、第
3レコード23と、第4レコード24と、第5レコード
25とから構成される。
In FIG. 2, the trace area 17 of this embodiment is composed of a first record 21, a second record 22, a third record 23, a fourth record 24 and a fifth record 25.

【0012】図3は図1中の値別アドレス記憶表16の
内容を示す構成図である。
FIG. 3 is a block diagram showing the contents of the value-based address storage table 16 shown in FIG.

【0013】図3において、本実施例の値別アドレス記
憶表16は、項目値31とアドレス部32とから構成さ
れる。
In FIG. 3, the value-based address storage table 16 of this embodiment is composed of an item value 31 and an address section 32.

【0014】トレース情報収集手段12は、トレース採
取部11の外部からトレース要求を受け付け、要求内容
を解析し、必要な情報を集めるものである。
The trace information collecting means 12 receives a trace request from the outside of the trace collecting section 11, analyzes the request contents, and collects necessary information.

【0015】トレースエリア17はあらかじめトレース
情報の記録用に用意されたエリアである。
The trace area 17 is an area prepared in advance for recording trace information.

【0016】グループ化情報項目設定手段13は、1回
のトレース動作で採取するトレース情報に関し、そのト
レース情報を構成する各情報項目の中で、グループ化の
対象とする情報項目を設定し、その情報項目のトレース
情報内での相対位置をトレース情報書き込み手段14に
渡すためのものである。
The grouping information item setting means 13 sets the information items to be grouped among the information items constituting the trace information regarding the trace information collected in one trace operation, and The relative position of the information item in the trace information is passed to the trace information writing means 14.

【0017】トレース情報書き込み手段14は、トレー
ス情報収集手段12によって集められたトレース情報を
トレースエリア17に順に書き込み、グループ化対象項
目設定手段13から渡されたトレース情報の相対位置で
示される情報項目の値ごとにそのトレース情報のトレー
スエリア17上でのアドレスを値別アドレス記憶表16
に書き込むためのものである。
The trace information writing means 14 sequentially writes the trace information collected by the trace information collecting means 12 in the trace area 17, and the information item indicated by the relative position of the trace information passed from the grouping target item setting means 13. The address storage table 16 for each value of the address of the trace information on the trace area 17 for each value of
It is for writing to.

【0018】トレース情報付加処理部15は、トレース
情報書き込み手段14より直前に書き込まれたトレース
情報を構成する各情報項目の中で、グループ化対象項目
設定手段13により設定された情報項目の値と同じ値を
持つトレース情報とを、既にトレースエリア17に書き
込まれたトレース情報の中から捜し出し、このトレース
情報の中にトレース情報書き込み手段14により直前に
トレースエリア17に書き込まれたトレース情報のメモ
リ上のアドレスを埋め込むためのものである。値別アド
レス記憶表16は、トレース情報を構成する各情報項目
の中からグループ化情報項目設定手段13によって設定
された情報項目が取りうる値ごとに、最後にトレース情
報書き込み手段14によって書き込まれたトレース情報
のメモリ上のアドレスを記憶しておくためのものであ
る。
The trace information addition processing unit 15 sets the value of the information item set by the grouping target item setting unit 13 among the information items constituting the trace information written immediately before by the trace information writing unit 14 as the value of the information item. Trace information having the same value is searched from the trace information already written in the trace area 17, and the trace information written in the trace information immediately before by the trace information writing means 14 in this trace information is stored in the memory. It is for embedding the address of. The value-based address storage table 16 is finally written by the trace information writing means 14 for each possible value of the information items set by the grouping information item setting means 13 from among the information items forming the trace information. This is for storing the address of the trace information on the memory.

【0019】次に、本実施例のトレース採取方式の動作
を図面を参照して説明する。
Next, the operation of the trace collection method of this embodiment will be described with reference to the drawings.

【0020】まず、グループ化情報設定手段13により
本実施例のトレース採取方式は、トレース情報を構成す
る各情報項目の中から、トレース情報の種類やトレース
要求を発行した発行元を示すトレースIDをグループ化
の対象に選び、トレース情報内での相対位置をトレース
情報書き込み手段14に渡す。
First, according to the trace collection method of the present embodiment by the grouping information setting means 13, the trace ID indicating the type of trace information or the issuer who has issued the trace request is selected from among the information items constituting the trace information. It is selected as a grouping target, and the relative position in the trace information is passed to the trace information writing means 14.

【0021】そして、トレース情報収集手段12はトレ
ース要求Aを受け取る。トレース情報収集手段12は、
トレース要求Aを解析し、ブロックX18の内容をトレ
ースする要求であることを認識し、ブロックX18のア
ドレスであるB1をトレース情報アドレスとしてトレー
ス情報書き込み手段14に渡す。トレース情報書き込み
手段14は、トレース情報アドレスからブロックX18
のアドレスであるB1を取り出し、ブロックX18の内
容とトレース情報の種類を示すトレースIDであるID
1を、トレースエリア17に決められたフォーマットで
書き込む。ここで、トレース情報書き込み手段14によ
って書き込まれた内容が図2の第1レコード21で示さ
れている。
Then, the trace information collecting means 12 receives the trace request A. The trace information collecting means 12
The trace request A is analyzed to recognize that the request is to trace the contents of the block X18, and the address B1 of the block X18 is passed to the trace information writing means 14 as the trace information address. The trace information writing means 14 determines the block X18 from the trace information address.
B1 which is the address of the trace ID and which is the trace ID indicating the content of the block X18 and the type of trace information
1 is written in the trace area 17 in a predetermined format. Here, the content written by the trace information writing means 14 is shown by the first record 21 in FIG.

【0022】また、トレース情報書き込み手段14は、
トレースエリア17上の次のトレース情報を書き込む第
2レコード22のアドレスであるM2を今書き込んだブ
ロックX18の内容の次の位置に書き込み、さらに、第
1レコード21の有効サイズであるS1を第1レコード
21のトレースIDであるID1の次の位置に書き込
む。最後に、値別アドレス記憶表16の項目値の欄で値
のはいっていない欄を上から捜し、そこにグループ化情
報項目設定手段13から渡されたトレース情報の相対位
置で示されるトレースIDであるID1を書き込み、ま
た、そのアドレス部32に第1レコード21のアドレス
であるM1を書き込み、記憶する。
Further, the trace information writing means 14 is
The address M2, which is the address of the second record 22 for writing the next trace information in the trace area 17, is written in the position next to the content of the block X18 that has just been written, and the effective size S1 of the first record 21 is set to the first. The record 21 is written at the position next to the trace ID ID1. Finally, in the item value column of the value-based address storage table 16, a column in which the value is not entered is searched from above, and the trace ID indicated by the relative position of the trace information passed from the grouping information item setting means 13 is searched there. A certain ID1 is written, and M1 which is the address of the first record 21 is written and stored in the address part 32 thereof.

【0023】次に、トレース情報収集手段12はトレー
ス要求Bを受け取る。トレース情報収集手段12は、ト
レース要求Bを解析し、テーブルX19の内容をトレー
スする要求であることを認識し、テーブルX19のアド
レスであるT1をトレース情報アドレスとしてトレース
情報書き込み手段14に渡す。トレース情報書き込み手
段14は、トレース情報アドレスからテーブルX19の
アドレスであるT1を取り出し、テーブルX19の内容
とトレース情報の種類を示すトレースIDであるID2
をトレースエリア17に決められたフォーマットで書き
込む。ここで、トレース情報書き込み手段14によって
書き込まれた内容が図2の第2レコード22で示されて
いる。
Next, the trace information collecting means 12 receives the trace request B. The trace information collecting means 12 analyzes the trace request B, recognizes that it is a request to trace the contents of the table X19, and passes the address T1 of the table X19 to the trace information writing means 14 as a trace information address. The trace information writing means 14 extracts the address T1 of the table X19 from the trace information address, and the content of the table X19 and the trace ID ID2 indicating the type of trace information.
Is written in the trace area 17 in a predetermined format. Here, the contents written by the trace information writing means 14 are shown by the second record 22 in FIG.

【0024】また、トレース情報書き込み手段14は、
トレースエリア17上の次のトレース情報を書き込む第
3レコード23のアドレスであるM3を今書き込んだテ
ーブルX19の内容の次の位置に書き込み、さらに、第
2レコード22の有効サイズであるS2を第2レコード
22のトレースIDであるID2の次の位置に書き込
む。最後に、値別アドレス記憶表16の項目値の欄で値
のはいっていない欄を上から捜し、そこにグループ化情
報項目設定手段13から渡されたトレース情報の相対位
置で示されるトレースIDであるID2を書き込み、ま
た、そのアドレス部32に第2レコード22のアドレス
であるM2を書き込み、記憶する。
Further, the trace information writing means 14 is
The address M3, which is the address of the third record 23 for writing the next trace information in the trace area 17, is written in the position next to the content of the table X19 that has just been written, and the effective size S2 of the second record 22 is set to the second. The record 22 is written in the position next to the trace ID ID2. Finally, in the item value column of the value-based address storage table 16, a column in which the value is not entered is searched from above, and the trace ID indicated by the relative position of the trace information passed from the grouping information item setting means 13 is searched there. A certain ID2 is written, and M2 which is the address of the second record 22 is written and stored in the address part 32.

【0025】次に、トレース情報収集手段12はトレー
ス要求Cを受け取る。トレース情報収集手段12はトレ
ース要求Cを解析し、ブロックY20の内容をトレース
する要求であることを認識し、ブロックY20のアドレ
スであるB2をトレース情報アドレスとしてトレース情
報書き込み手段14に渡す。トレース情報書き込み手段
14は、トレース情報アドレスからブロックY20のア
ドレスであるB2を取り出し、ブロックY20の内容と
トレース情報の種類を示すトレースIDであるID3を
トレースエリア17に決められたフォーマットで書き込
む。ここで、トレース情報書き込み手段14によって書
き込まれた内容が図2の第3レコード23で示されてい
る。
Next, the trace information collecting means 12 receives the trace request C. The trace information collecting means 12 analyzes the trace request C, recognizes that it is a request to trace the contents of the block Y20, and passes the address B2 of the block Y20 to the trace information writing means 14 as a trace information address. The trace information writing means 14 extracts the address B2 of the block Y20 from the trace information address and writes the content of the block Y20 and the trace ID ID3 indicating the type of trace information in the trace area 17 in a predetermined format. Here, the content written by the trace information writing means 14 is shown by the third record 23 in FIG.

【0026】また、トレース情報書き込み手段14は、
トレースエリア17上の次のトレース情報を書き込む第
4レコード24のアドレスであるM4を今書き込んだブ
ロックY20の内容の次の位置に書き込み、さらに、第
3レコード23の有効サイズであるS3を第3レコード
23のトレースIDであるID3の次の位置に書き込
む。最後に、値別アドレス記憶表16の項目値の欄で値
のはいっていない欄を上から捜し、そこにグループ化情
報項目設定手段13から渡されたトレース情報の相対位
置で示されるトレースIDであるID3を書き込み、ま
た、そのアドレス部32に第3レコード23のアドレス
であるM3を書き込み、記憶する。
Further, the trace information writing means 14 is
The address M4, which is the address of the fourth record 24 for writing the next trace information in the trace area 17, is written in the position next to the content of the block Y20 that has just been written, and the effective size S3 of the third record 23 is set to the third. The record 23 is written in the position next to the trace ID ID3. Finally, in the item value column of the value-based address storage table 16, a column in which the value is not entered is searched from above, and the trace ID indicated by the relative position of the trace information passed from the grouping information item setting means 13 is searched there. A certain ID3 is written, and M3, which is the address of the third record 23, is written and stored in the address part 32 thereof.

【0027】次に、トレース情報収集手段12は再度ト
レース要求Aを受け取る。トレース情報収集手段12
は、トレース要求Aを解析し、ブロックX18の内容を
トレースする要求であることを認識し、ブロックX18
のアドレスであるB1をトレース情報アドレスとしてト
レース情報書き込み手段14に渡す。トレース情報書き
込み手段14は、トレース情報アドレスからブロックX
18のアドレスであるB1を取り出し、ブロックX18
の内容とトレース情報の種類を示すトレースIDである
ID1をトレースエリア17に決められたフォーマット
で書き込む。ここで、トレース情報書き込み手段14に
よって書き込まれた内容が図2の第4レコード24で示
されている。
Next, the trace information collecting means 12 receives the trace request A again. Trace information collecting means 12
Analyzes the trace request A, recognizes that it is a request to trace the contents of the block X18, and
The address B1 is passed to the trace information writing means 14 as the trace information address. The trace information writing means 14 determines the block X from the trace information address.
B1 which is the address of 18 is taken out, and block X18
And the trace ID ID1 indicating the type of trace information are written in the trace area 17 in a predetermined format. Here, the content written by the trace information writing means 14 is shown by the fourth record 24 in FIG.

【0028】また、トレース情報書き込み手段14は、
トレースエリア17上の次のトレース情報を書き込む第
5レコード25のアドレスであるM5をブロックX18
の内容の次の位置に書き込み、さらに、第4レコード2
4の有効サイズであるS1を第4レコード24のトレー
スIDであるID1の次の位置に書き込む。
Further, the trace information writing means 14 is
M5, which is the address of the fifth record 25 in which the next trace information on the trace area 17 is written, is set to block X18.
Write to the next position of the contents of, and the 4th record 2
The effective size S1 of 4 is written in the position next to the trace ID ID1 of the fourth record 24.

【0029】次に、グループ番号別アドレス記憶表16
の項目値のうちID1が既に書き込まれていてそのアド
レス部32にも既にアドレスが記憶されているので、ト
レース情報付加処理手段15は、以前トレース情報書き
込み手段14によりトレースエリアに書き込んだ第1レ
コード21の最後のエリアに第4レコード24のアドレ
スであるM4を書き込み、第1レコード21と第4レコ
ード24とを関連付ける。最後に、値別アドレス記憶表
16の項目値のうちのID1のアドレス部32に第4レ
コード24のアドレスであるM4を書き込むことでID
1のアドレスを更新し、記憶する。
Next, an address storage table 16 for each group number
Since the ID1 has already been written among the item values of 1 and the address has already been stored in the address part 32, the trace information addition processing means 15 causes the trace information addition processing means 15 to write the first record previously written in the trace area by the trace information writing means 14. The address M4, which is the address of the fourth record 24, is written in the last area of 21 to associate the first record 21 with the fourth record 24. Finally, by writing M4, which is the address of the fourth record 24, in the address part 32 of ID1 of the item values of the value-based address storage table 16, the ID is written.
The address of 1 is updated and stored.

【0030】[0030]

【発明の効果】以上説明したように、本発明のトレース
採取方式は、あらかじめグループ化の対象とする情報項
目を設定し、その情報項目のトレース情報内での相対位
置を記憶しておき、トレース情報を書き込む時にトレー
ス情報を構成する各情報項目の中からグループ化の設定
をした情報項目の値が同じであるトレース情報どうしを
ポインタで関連付けることにより、トレース情報を編集
出力する時に同一事象のトレース情報を検索したり出力
したりする場合に、順に捜さなくてもダイレクトに取り
出すことができ、処理速度を向上できるという効果があ
る。
As described above, according to the trace collection method of the present invention, the information items to be grouped are set in advance, the relative positions of the information items in the trace information are stored, and the trace is performed. When writing information, the trace information of the same event is edited when the trace information is edited and output by associating the trace information that has the same value of the information item for which grouping is set among the information items that configure the trace information with the pointer. When retrieving or outputting information, it is possible to directly retrieve the information without sequentially searching, and there is an effect that the processing speed can be improved.

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

【図1】本発明の一実施例のトレース採取方式のブロッ
ク図である。
FIG. 1 is a block diagram of a trace sampling system according to an embodiment of the present invention.

【図2】図1のトレースエリア17の内容を示す構成図
である。
FIG. 2 is a configuration diagram showing the contents of a trace area 17 in FIG.

【図3】図1の値別アドレス記憶表16の内容を示す構
成図である。
3 is a configuration diagram showing the contents of a value-based address storage table 16 of FIG.

【符号の説明】 11 トレース採取部 12 トレース情報収集手段 13 グレープ化情報項目設定手段 14 トレース情報書き込み手段 15 トレース情報付加処理手段 16 値別アドレス記憶表 17 トレースエリア 18 ブロックX 19 テーブルX 20 ブロックY 21 第1レコード 22 第2レコード 23 第3レコード 24 第4レコード 25 第5レコード 31 項目値 32 アドレス部[Explanation of Codes] 11 Trace Collection Unit 12 Trace Information Collection Means 13 Grape Information Item Setting Means 14 Trace Information Writing Means 15 Trace Information Addition Processing Means 16 Address Storage Table by Value 17 Trace Areas 18 Blocks X 19 Tables X 20 Blocks Y 21 1st record 22 2nd record 23 3rd record 24 4th record 25 5th record 31 Item value 32 Address part

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 トレース情報を収集する機能と収集した
トレース情報を編集し出力する機能を有する計算機シス
テムにおけるトレース採取方式において、(A)トレー
ス要求を受付け該当するトレース情報を収集するトレー
ス情報収集手段と、(B)前記トレース情報収集手段に
より収集されたトレース情報をメモリのトレースエリア
に書き込むトレース情報書き込み手段と、(C)1回の
トレース動作により採取されるトレース情報を構成する
各情報項目の中のうちグループ化の対象とする情報項目
のトレース情報内での相対位置を前記トレース情報書き
込み手段に渡すグループ化情報項目設定手段と、(D)
前記トレース情報書き込み手段により直前に書き込まれ
たトレース情報を構成する各情報項目の中で、グループ
化の対象とした情報項目の値と同じ値を持つトレース情
報とを、既にトレースエリアに書き込まれたトレース情
報の中から捜し出してこの既にトレースエリアに書き込
まれたトレース情報の中に前記直前に書き込まれたトレ
ース情報のメモリ上のアドレスを埋め込むトレース情報
付加処理手段と、(E)トレース情報を構成する情報項
目の中から前記グループ化情報項目設定手段によって設
定された情報項目が取り得る値ごとに最後に前記トレー
ス情報書き込み手段によって書き込まれたメモリ上のア
ドレスを記憶しておく値別アドレス記憶表とを有するこ
とを特徴とするトレース採取方式。
1. In a trace collection method in a computer system having a function of collecting trace information and a function of editing and outputting the collected trace information, (A) a trace information collecting means for receiving a trace request and collecting the corresponding trace information. (B) trace information writing means for writing the trace information collected by the trace information collecting means in a trace area of the memory, and (C) for each information item constituting the trace information collected by one trace operation. Grouping information item setting means for passing the relative position in the trace information of the information item to be grouped among the grouping information item setting means, (D)
Among the information items forming the trace information written immediately before by the trace information writing means, the trace information having the same value as the value of the information item targeted for grouping has already been written in the trace area. (E) Trace information adding processing means for locating in the trace information which is searched out from the trace information and embedded in the trace information already written in the trace area with the address of the trace information just written in the memory, and (E) trace information. A value-based address storage table that stores the address on the memory last written by the trace information writing unit for each value that can be taken by the information item set by the grouping information item setting unit from among the information items A trace collection method comprising:
JP3284309A 1991-10-30 1991-10-30 Trace acquisition system Pending JPH05120064A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3284309A JPH05120064A (en) 1991-10-30 1991-10-30 Trace acquisition system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3284309A JPH05120064A (en) 1991-10-30 1991-10-30 Trace acquisition system

Publications (1)

Publication Number Publication Date
JPH05120064A true JPH05120064A (en) 1993-05-18

Family

ID=17676874

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3284309A Pending JPH05120064A (en) 1991-10-30 1991-10-30 Trace acquisition system

Country Status (1)

Country Link
JP (1) JPH05120064A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7139940B2 (en) 2003-04-10 2006-11-21 International Business Machines Corporation Method and apparatus for reporting global errors on heterogeneous partitioned systems

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7139940B2 (en) 2003-04-10 2006-11-21 International Business Machines Corporation Method and apparatus for reporting global errors on heterogeneous partitioned systems

Similar Documents

Publication Publication Date Title
JPH08249348A (en) Method and device for video retrieval
US6289359B1 (en) File managing method
JPH05120064A (en) Trace acquisition system
JPH0793191A (en) Trace sampling system
JP2822869B2 (en) Library file management device
JP2795254B2 (en) Mark card reader
JP2573577B2 (en) File access device
JP3309803B2 (en) Sorting method, method, and recording medium recording sort processing program
JPH03209542A (en) System and device for automatic production of interlocking test data on communication control program
JPH03225412A (en) File data read system
JP3036246B2 (en) Information retrieval device
JP2747009B2 (en) Record addition method for indexed sequential files
JPH05241910A (en) Trace information storing system
JPS6211746B2 (en)
JPH02220151A (en) Variable length data access system
JPH0644248B2 (en) Cache memory positioning system
JPS61151426A (en) Data memory system
JPH04340664A (en) Shape data management device
JPH01270127A (en) Data retrieval processing system
JPH0324618A (en) Record ascending order adder
JPH02139640A (en) Investigation information output system
JPH0520144A (en) Data access system
JPH0498516A (en) Disk accessing system
JPH0895833A (en) Fault information gathering device
JPS62222339A (en) Intra-block record control system