JP3491379B2 - Information processing apparatus and trace information storage method - Google Patents

Information processing apparatus and trace information storage method

Info

Publication number
JP3491379B2
JP3491379B2 JP08557995A JP8557995A JP3491379B2 JP 3491379 B2 JP3491379 B2 JP 3491379B2 JP 08557995 A JP08557995 A JP 08557995A JP 8557995 A JP8557995 A JP 8557995A JP 3491379 B2 JP3491379 B2 JP 3491379B2
Authority
JP
Japan
Prior art keywords
trace information
information
storage
storage area
trace
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
JP08557995A
Other languages
Japanese (ja)
Other versions
JPH08286951A (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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation 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 Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP08557995A priority Critical patent/JP3491379B2/en
Publication of JPH08286951A publication Critical patent/JPH08286951A/en
Application granted granted Critical
Publication of JP3491379B2 publication Critical patent/JP3491379B2/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 an information processing apparatus and a trace information storage method, and more particularly to a trace information storage method for storing a plurality of types of trace information that are asynchronously generated in a processing unit, and the trace information storage method. The present invention relates to an information processing device to which is applicable.

【0002】[0002]

【従来の技術及び発明が解決しようとする課題】情報処
理装置では、例えば外部装置との通信や、磁気ディスク
等の記憶媒体に対するアクセス等の特定の処理を行なう
毎に、或いは軽度のエラー等が発生する毎に、メモリ等
に設けられているトレース情報格納エリアに前記処理の
内容や結果、エラーの内容等を表す情報(トレース情
報)を記憶することが行なわれている。上記によれば、
障害等の発生時にトレース情報格納エリアに格納されて
いるトレース情報を読み出せば、障害等が発生する前に
行なわれていた処理の履歴や情報処理装置の状態等を容
易に判断することができ、障害の発生原因の解析等を容
易に行なうことが可能となる。
2. Description of the Related Art In an information processing apparatus, for example, communication with an external device or a specific process such as access to a storage medium such as a magnetic disk is performed, or a slight error occurs. Each time it occurs, information (trace information) representing the content and result of the processing, the content of error, etc. is stored in a trace information storage area provided in a memory or the like. According to the above
By reading the trace information stored in the trace information storage area when a failure occurs, it is possible to easily determine the history of processing that was performed before the failure occurred and the state of the information processing device. It is possible to easily analyze the cause of failure.

【0003】ところで、互いに独立して動作する複数の
プロセッサを備えた情報処理装置では、一般に各プロセ
ッサ毎にトレース情報格納エリアが設けられており、各
プロセッサによるトレース情報格納エリアへのトレース
情報の格納は非同期にかつ不定期に行なわれる。しか
し、障害の発生原因の解析等を容易にするためには、こ
のような情報処理装置においても、各トレース情報格納
エリアに格納されたトレース情報を、正しい順序(例え
ばトレース情報格納エリアへの格納順)に並べられるよ
うにすることが求められる。
By the way, in an information processing apparatus having a plurality of processors operating independently of each other, a trace information storage area is generally provided for each processor, and each processor stores the trace information in the trace information storage area. Is performed asynchronously and irregularly. However, even in such an information processing apparatus, in order to facilitate the analysis of the cause of failure, the trace information stored in each trace information storage area is stored in the correct order (for example, stored in the trace information storage area). Order) is required.

【0004】このため特開平 5-40658号公報には、複数
のプロセッサを備え個々のプロセッサ毎にトレース情報
格納エリアが設けられたシステムにおいて、各プロセッ
サがアクセス可能な共有メモリ上にカウンタを設け、各
プロセッサがトレース情報を記憶する場合には、前記カ
ウンタの値をトレース情報に付加してトレース情報格納
エリアに格納すると共に、共有メモリ上のカウンタの値
を更新することが記載されている。上記によれば、各ト
レース情報に付加されたカウンタの値を参照することに
より、各トレース情報をトレース情報格納エリアへの格
納順に正しく並べることができる。
For this reason, Japanese Patent Laid-Open No. 5-40658 discloses a system in which a trace information storage area is provided for each processor and a counter is provided on a shared memory accessible by each processor. It is described that when each processor stores trace information, the counter value is added to the trace information and stored in the trace information storage area, and the counter value on the shared memory is updated. According to the above, by referring to the value of the counter added to each trace information, each trace information can be correctly arranged in the order of storage in the trace information storage area.

【0005】しかし、上記ではトーレス情報が各プロセ
ッサに対応して設けられたトレース情報格納エリアに分
散されて格納されるので、トレース情報の読出しにあた
りプロセッサ間でトレース情報の転送等を行なう必要が
あり、また、複数のプロセッサのうちの何れかのプロセ
ッサが障害等により動作を停止したとすると、この動作
を停止したプロセッサのメモリ上に設けられたトレース
情報格納エリアからトレース情報の読出しを行なうこと
ができなくなる、という不都合があった。
However, in the above, since the Torres information is distributed and stored in the trace information storage area provided corresponding to each processor, it is necessary to transfer the trace information between the processors when reading the trace information. Further, if any one of the plurality of processors stops its operation due to a failure or the like, it is possible to read the trace information from the trace information storage area provided on the memory of the processor that stopped the operation. There was an inconvenience that it would not be possible.

【0006】また、トレース情報の管理の一元化を図る
ために、特開平 5-54010号公報にはスレーブプロセッサ
で発生した障害情報(ログデータ)をマスタプロセッサ
に転送し、マスタプロセッサにより前記転送された障害
情報を格納する障害ロギング方式が提案されている。し
かし、上記方式において障害情報が発生する毎に即座に
障害情報を格納するようにしたとすると、障害情報の上
書きによる障害情報の消失やデータの矛盾が発生する。
Further, in order to unify management of trace information, Japanese Patent Laid-Open No. 5-54010 discloses that fault information (log data) generated in a slave processor is transferred to a master processor, and the master processor transfers the failure information. A fault logging method for storing fault information has been proposed. However, in the above method, if the failure information is stored immediately every time the failure information occurs, the failure information is overwritten and the data becomes inconsistent due to the overwriting of the failure information.

【0007】このため特開平 5-54010号公報では、障害
情報を格納しようとした際に他の障害情報の格納が行な
われていた場合には、前記他の障害情報の格納が完了す
る迄障害情報の格納を一旦停止する、所謂排他制御を行
なっている。しかし、排他制御は複雑な制御であり、ま
た排他制御を実現するためには障害情報を一時的に保持
するためのバッファを設ける必要があるので、構成が複
雑になるという問題がある。なお前記データの消失や矛
盾は、単一のプロセッサにおいて複数の処理(タスク)
を時分割等により並列に実行する、所謂マルチタスクで
処理を行なう情報処理装置においても、例えばトレース
情報を格納するプログラムをリエントラントプログラム
(再入可能プログラム)とすれば発生する可能性があ
る。
For this reason, in Japanese Patent Laid-Open No. 5-54010, if another failure information is stored when trying to store the failure information, the failure is stored until the storage of the other failure information is completed. The so-called exclusive control is performed to temporarily stop the storage of information. However, the exclusive control is a complicated control, and in order to realize the exclusive control, it is necessary to provide a buffer for temporarily holding the failure information, so that there is a problem that the configuration becomes complicated. It should be noted that the loss or inconsistency of the above-mentioned data is caused by multiple processes (tasks) in a single processor.
Even in an information processing apparatus that executes processing in so-called multitasking, which is executed in parallel by time division or the like, it may occur if the program that stores the trace information is a reentrant program (reentrant program).

【0008】本発明は上記事実を考慮して成されたもの
で、互いに非同期に発生する複数種類のトレース情報
を、正しい順序を判断可能で簡単かつ確実に格納するこ
とができる情報処理装置及びトレース情報格納方法を得
ることが目的である。
The present invention has been made in consideration of the above facts, and an information processing apparatus and a trace capable of storing a plurality of types of trace information that occur asynchronously with each other in a correct order, can be stored easily and reliably. The purpose is to obtain an information storage method.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するため
に請求項1記載の発明に係る情報処理装置は、各々トレ
ース情報を記憶可能な多数の記憶エリアで構成された記
憶エリア群が、処理部で複数の処理が並列に実行される
ことにより互いに非同期に発生する複数種類のトレース
情報に対応して複数設けられたトレース情報記憶手段
と、前記記憶エリア群の多数の記憶エリアの何れの記憶
エリアにトレース情報を格納するかを表す格納位置情報
を保持する保持手段と、トレース情報が発生する毎に、
該トレース情報に識別情報として付加するための単調増
加番号を前記複数種類のトレース情報毎に発生させる単
調増加番号発生手段と、トレース情報が発生する毎に、
トレース情報記憶手段の前記発生したトレース情報に対
応する記憶エリア群の多数の記憶エリアのうち、前記保
持手段に保持されている格納位置情報が表す記憶エリア
、前記単調増加番号を付加した前記トレース情報を格
納すると共に、前記保持手段に保持されている格納位置
情報を更新するトレース情報格納制御手段と、を含んで
構成している。
In order to achieve the above-mentioned object, an information processing apparatus according to the invention of claim 1 has a storage area group composed of a large number of storage areas each capable of storing trace information. Any of a plurality of storage areas of the storage area group, and a plurality of trace information storage means provided corresponding to a plurality of types of trace information that are asynchronously generated by a plurality of processes executed in parallel A holding means for holding the storage position information indicating whether to store the trace information in the area, and each time the trace information is generated,
Monotonic increase to be added to the trace information as identification information
An additional number is generated for each of the multiple types of trace information.
Each time the trace number is generated and the incrementing number generation means ,
Of the many storage areas of the storage area group corresponding to the generated trace information of the trace information storage means, the trace in which the monotonically increasing number is added to the storage area represented by the storage position information held by the holding means Trace information storage control means for storing information and updating the storage position information held in the holding means.

【0010】請求項2記載の発明に係るトレース情報格
納方法は、複数の処理を並列に実行する処理部と、各々
トレース情報を記憶可能な多数の記憶エリアで構成され
た記憶エリア群が前記処理部による処理の実行により互
いに非同期に発生する複数種類のトレース情報に対応し
て複数設けられたトレース情報記憶手段と、前記記憶エ
リア群の多数の記憶エリアの何れの記憶エリアにトレー
ス情報を格納するかを表す格納位置情報を保持する保持
手段と、を備えた情報処理装置において、トレース情報
が発生する毎に、該トレース情報に識別情報として付加
するための単調増加番号を前記複数種類のトレース情報
毎に発生させ、トレース情報記憶手段の前記発生したト
レース情報に対応する記憶エリア群の多数の記憶エリア
のうち、前記保持手段に保持されている格納位置情報が
表す記憶エリアに、前記単調増加番号を付加した前記ト
レース情報を格納すると共に、前記保持手段に保持され
ている格納位置情報を更新することを特徴としている。
According to a second aspect of the present invention, there is provided a trace information storing method, wherein a processing unit for executing a plurality of processes in parallel and a storage area group constituted by a large number of storage areas each capable of storing trace information are the processing. The trace information is stored in a plurality of trace information storage means corresponding to a plurality of types of trace information that are asynchronously generated by the execution of the processing by the unit, and in any one of the storage areas of the storage area group. An information processing device including a holding unit that holds storage position information indicating whether or not each time trace information is generated, the trace information is added as identification information to the trace information.
The monotonically increasing number for the above-mentioned multiple types of trace information
The monotonically increasing number in the storage area represented by the storage position information held in the holding means, out of a large number of storage areas of the storage area group corresponding to the generated trace information in the trace information storage means . stores the trace information obtained by adding, is characterized by updating the storage location information held in said holding means.

【0011】[0011]

【作用】請求項1記載の発明では、処理部において複数
の処理が並列に実行され、互いに非同期に複数種類のト
レース情報が発生する。なお前記処理部は、複数のCP
Uを備え各CPUが互いに独立に処理を行なう構成であ
ってもよいし、単一のCPUを備え該CPUが複数の処
理を時分割等により並列に実行する構成であってもよ
い。またトレース情報の種類は、処理部が複数のCPU
を備えている場合には、異なるCPUで発生したトレー
ス情報を種類の異なるトレース情報として区別するよう
にしてもよいし、処理部が単一のCPUを備えている場
合には、発生要因(例えば通信か記憶媒体に対するアク
セスか等)の異なるトレース情報を、種類の異なるトレ
ース情報として区別するようにしてもよい。
According to the present invention, a plurality of processes are executed in parallel in the processing section, and a plurality of types of trace information are generated asynchronously with each other. In addition, the processing unit has a plurality of CPs.
The configuration may be such that each CPU includes U and performs processing independently of each other, or a configuration that includes a single CPU and performs a plurality of processings in parallel by time division or the like. In addition, the type of trace information is such that the processing unit has multiple CPUs.
When the processing unit has a single CPU, the trace information generated by different CPUs may be distinguished as the trace information of different types. Trace information different in communication or access to a storage medium) may be distinguished as different types of trace information.

【0012】請求項1の発明では、各々トレース情報を
記憶可能な多数の記憶エリアで構成された記憶エリア群
が、処理部で複数の処理が並列に実行されることにより
互いに非同期に発生する複数種類のトレース情報に対応
して複数設けられたトレース情報記憶手段を備えてお
り、単調増加番号発生手段は、トレース情報が発生する
毎に、該トレース情報に識別情報として付加するための
単調増加番号を複数種類のトレース情報毎に発生させ、
トレース情報格納制御手段では、トレース情報が発生す
る毎に、トレース情報記憶手段の前記発生したトレース
情報に対応する記憶エリア群の多数の記憶エリアのう
ち、保持手段に保持されている格納位置情報が表す記憶
エリアへ、単調増加番号を付加したトレース情報を格納
すると共に、保持手段に保持されている格納位置情報を
更新する。
According to the first aspect of the present invention, a storage area group composed of a large number of storage areas each capable of storing trace information has a plurality of storage areas that are asynchronously generated by a plurality of processes being executed in parallel by the processing unit. A plurality of trace information storage means are provided corresponding to the types of trace information, and the monotonically increasing number generation means generates the trace information.
Each time, for adding as identification information to the trace information
Generate a monotonically increasing number for each type of trace information,
In the trace information storage control means, every time the trace information is generated, among the many storage areas of the storage area group corresponding to the generated trace information of the trace information storage means, the storage position information held in the holding means is stored. The trace information to which the monotonically increasing number is added is stored in the storage area shown, and the storage position information held in the holding means is updated.

【0013】上記では、記憶エリア群の多数の記憶エリ
アのうちのトレース情報を格納する記憶エリアの判断
は、保持手段に保持されている格納位置情報に基づいて
行なわれるが、前記記憶エリア群は発生する複数種類の
トレース情報に対応して複数設けられており、発生した
トレース情報は対応する記憶エリア群の記憶エリアに格
納されるので、例えば種類の異なる複数のトレース情報
が同時に或いはほぼ同時に発生し、発生した各トレース
情報の格納をトレース情報格納制御手段が完全に並行し
て行なったとしても、各トレース情報が互いに上書きさ
れることによる消失等が発生することはなく、複雑な排
他制御を行なったり、排他制御を実現するためにバッフ
ァ等を設ける必要もない。
In the above, the determination of the storage area in which the trace information is stored among the many storage areas of the storage area group is made based on the storage position information held by the holding means. A plurality of types of trace information that are generated are provided, and the generated trace information is stored in the storage area of the corresponding storage area group. Therefore, for example, a plurality of different types of trace information are generated at the same time or almost at the same time. However, even if the trace information storage control means stores the generated trace information completely in parallel, the trace information will not be lost by being overwritten with each other, and complicated exclusive control will be performed. It is not necessary to provide a buffer or the like for performing the exclusive control.

【0014】このように、請求項1の発明では互いに非
同期に発生する複数種類のトレース情報を簡単かつ確実
に格納することができる。また上述したように、保持手
段に保持されている格納位置情報を、種類の異なるトレ
ース情報の格納に際して共通に用いているので、複数の
記憶エリア群の各々へのトレース情報の格納位置は、ト
レース情報記憶手段にトレース情報が格納される度に同
様に変化する。このため、互いに異なる記憶エリア群に
格納される、互いに種類の異なるトレース情報の発生順
序を、各記憶エリア群における格納位置(トレース情報
を格納している記憶エリアの位置)に基づいて判断でき
る。従って、互いに非同期に発生する複数種類のトレー
ス情報を、正しい順序を判断可能に格納することができ
る。
As described above, according to the first aspect of the present invention, a plurality of types of trace information that occur asynchronously with each other can be stored easily and reliably. Further, as described above, since the storage position information held in the holding means is commonly used when storing different types of trace information, the storage position of the trace information in each of the plurality of storage area groups is It also changes every time the trace information is stored in the information storage means. Therefore, it is possible to determine the generation order of the different types of trace information stored in the different storage area groups based on the storage position in each storage area group (the position of the storage area in which the trace information is stored). Therefore, a plurality of types of trace information that occur asynchronously with each other can be stored so that the correct order can be determined.

【0015】請求項2記載の発明では、処理部で所定種
類のトレース情報が発生する毎に、発生したトレース情
報に識別情報として付加するための単調増加番号を複数
種類のトレース情報毎に発生させ、トレース情報記憶手
段の前記発生したトレース情報に対応する記憶エリア群
の多数の記憶エリアのうち、保持手段に保持されている
格納位置情報が表す記憶エリアに、単調増加番号を付加
したトレース情報を格納すると共に、保持手段に保持さ
れている格納位置情報を更新するようにしたので、請求
項1記載の発明と同様に、互いに非同期に発生する複数
種類のトレース情報を、正しい順序を判断可能で簡単か
つ確実に格納することができる。
[0015] In the present invention of claim 2, wherein, each time the trace information of a predetermined type by the processing unit occurs, the generated trace information
Multiple monotonically increasing numbers to be added to the information as identification information
Raises for each type of trace information, among a plurality of storage areas of said generated corresponding storage area group in the trace information in the trace information storage means, the storage area indicated by the storage position information held in the holding means, monotonous Add increment number
Since the trace information is stored and the storage position information held in the holding means is updated, a plurality of types of trace information that occur asynchronously with each other can be stored in the correct order, as in the first aspect of the invention. Can be stored and can be stored easily and surely.

【0016】[0016]

【実施例】以下、図面を参照して本発明の実施例を詳細
に説明する。図1には、本実施例に係る情報処理装置1
0が示されている。情報処理装置10は、処理部として
の第1のプロセッサ12及び第2のプロセッサ14を備
えている。
Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 1 shows an information processing apparatus 1 according to this embodiment.
0 is shown. The information processing device 10 includes a first processor 12 and a second processor 14 as processing units.

【0017】第1のプロセッサ12はCPU16、RO
M18、RAM20を備えており、これらがローカルバ
ス22を介して互いに接続されて構成されている。ロー
カルバス22は情報処理装置10のメインバス24に接
続されている。また、第2のプロセッサ14はCPU2
8、ROM30、RAM32を備えており、これらがロ
ーカルバス34を介して互いに接続されて構成されてい
る。ローカルバス34もメインバス24に接続されてい
る。従って第1のプロセッサ12と第2のプロセッサ1
4は、メインバス24を介して相互に各種データ等のや
り取りが可能となっている。
The first processor 12 is a CPU 16, RO
An M18 and a RAM 20 are provided, and these are connected to each other via a local bus 22. The local bus 22 is connected to the main bus 24 of the information processing device 10. Also, the second processor 14 is the CPU 2
8, a ROM 30, and a RAM 32, which are connected to each other via a local bus 34. The local bus 34 is also connected to the main bus 24. Therefore, the first processor 12 and the second processor 1
4 can exchange various data with each other via the main bus 24.

【0018】また、メインバス24にはRAM36が接
続されている。RAM36は第1のプロセッサ12及び
第2のプロセッサ14からアクセス可能とされている。
RAM36の記憶領域には、本発明の保持手段としての
格納位置情報保持エリア38と、本発明のトレース情報
記憶手段としてのトレース情報格納エリア40とが設け
られている。図2にも示すように、トレース情報格納エ
リア40には第1のプロセッサ12用の記憶エリア群4
0Aと、第2のプロセッサ14用の記憶エリア群40B
とが設けられている。これらの記憶エリア群40A、4
0Bは、各々トレース情報の一単位(単位トレース情報
と称する)を格納可能な記憶エリア(図2では単一の記
憶エリアを□で示す)が各々複数(図2では各々n個)
設けられている。
A RAM 36 is connected to the main bus 24. The RAM 36 can be accessed by the first processor 12 and the second processor 14.
The storage area of the RAM 36 is provided with a storage position information holding area 38 as a holding means of the present invention and a trace information storage area 40 as a trace information storage means of the present invention. As shown in FIG. 2, the trace information storage area 40 has a storage area group 4 for the first processor 12.
0A and a storage area group 40B for the second processor 14
And are provided. These storage area groups 40A, 4
0B has a plurality of storage areas (single storage areas are indicated by □ in FIG. 2) each capable of storing one unit of trace information (referred to as unit trace information) (n in FIG. 2).
It is provided.

【0019】記憶エリア群40A、40Bの各記憶エリ
アには、記憶エリア群内の各記憶エリアを識別するため
のアドレスが予め付与されており(図2では「1」〜
「n」の符号として示す)、前記格納位置情報保持エリ
ア38には、格納位置情報として所定の記憶エリアのア
ドレスが記憶されている。なお、本実施例では第1のプ
ロセッサ12で発生されたトレース情報と、第2のプロ
セッサ14で発生されたトレース情報とを、種類の異な
るトレース情報としている。これらのトレース情報は、
第1のプロセッサ12、第2のプロセッサ14における
処理(タスク)の実行に伴い、互いに非同期に発生す
る。
An address for identifying each storage area in the storage area group is assigned in advance to each storage area of the storage area groups 40A and 40B (from "1" in FIG. 2).
The storage location information holding area 38 stores the address of a predetermined storage area as storage location information. In this embodiment, the trace information generated by the first processor 12 and the trace information generated by the second processor 14 are different types of trace information. These trace information are
As the processes (tasks) are executed in the first processor 12 and the second processor 14, they occur asynchronously with each other.

【0020】次に本実施例の作用を説明する。図2に
は、第1のプロセッサ12のCPU16及び第2のプロ
セッサ14のCPU28の備えている各種機能のうち、
トレース情報の格納、出力に関連する機能をブロックに
分けて示している。第1のプロセッサ12におけるタス
クの実行(図2では「タスクA」として示す)に伴い、
トレース情報を格納すべき事象が発生(例えば、通信等
のように処理の履歴を残すべき処理を実行した等)する
と、第1のプロセッサ12で単調増加番号発生部44、
トレース情報格納部46、格納位置情報取得部48、次
格納位置算出部50が起動され、トレース情報格納処理
(後述)が実行される。これらのうち、単調増加番号発
生部44は本発明の単調増加番号発生手段に対応してお
り、その他は本発明のトレース情報格納制御手段に対応
している。
Next, the operation of this embodiment will be described. In FIG. 2, among various functions of the CPU 16 of the first processor 12 and the CPU 28 of the second processor 14,
Functions related to storage and output of trace information are shown in blocks. With the execution of the task in the first processor 12 (shown as “task A” in FIG. 2),
When an event in which the trace information is to be stored occurs (for example, a process such as communication in which a process history should be left is executed), the first processor 12 causes the monotonically increasing number generation unit 44,
The trace information storage unit 46, the storage position information acquisition unit 48, and the next storage position calculation unit 50 are activated, and the trace information storage process (described later) is executed. Of these , monotonically increasing numbers
The raw part 44 corresponds to the monotonically increasing number generating means of the present invention.
The others correspond to the trace information storage control means of the present invention.

【0021】また同様に、第2のプロセッサ14におけ
るタスクの実行(図2では「タスクB」として示す)に
伴い、トレース情報を格納すべき事象が発生すると、単
調増加番号発生部54、トレース情報格納部56、格納
位置情報取得部58、次格納位置算出部60が起動さ
れ、トレース情報格納処理(後述)が実行される。これ
のうち、単調増加番号発生部54は本発明の単調増加
番号発生手段に対応しており、その他は本発明のトレー
ス情報格納制御手段に対応している。第1のプロセッサ
12で実行されるトレース情報格納処理について、図3
のフローチャートを参照して説明する。
Similarly, when an event in which the trace information is to be stored occurs due to the execution of the task in the second processor 14 (shown as "task B" in FIG. 2), the monotonically increasing number generating section 54, the trace information. The storage unit 56, the storage position information acquisition unit 58, and the next storage position calculation unit 60 are activated, and the trace information storage process (described later) is executed. Among these, the monotonically increasing number generating unit 54 is the monotonically increasing number of the present invention.
It corresponds to the number generation means, and the other corresponds to the trace information storage control means of the present invention. FIG. 3 shows the trace information storage processing executed by the first processor 12.
This will be described with reference to the flowchart in FIG.

【0022】ステップ100ではトレース情報に付加す
るための番号を取得する。この番号の取得は単調増加番
号発生部44を起動することにより行なわれる。単調増
加番号発生部44では過去に出力した番号を保持してお
り、起動される毎に前記保持している番号に1を加算し
て新たな番号を出力する。ステップ100では単調増加
番号発生部44から出力された番号をトレース情報に付
加するための番号として取得する。ステップ102では
格納すべきトレース情報に対し、前記取得した番号を識
別情報として付加する。
In step 100, a number to be added to the trace information is acquired. The acquisition of this number is performed by activating the monotonically increasing number generation unit 44. The monotonically increasing number generation unit 44 holds the number output in the past, and every time it is activated, 1 is added to the held number to output a new number. In step 100, the number output from the monotonically increasing number generation unit 44 is acquired as a number to be added to the trace information. In step 102, the acquired number is added as identification information to the trace information to be stored.

【0023】次のステップ104では格納位置情報保持
エリア38に保持されている格納位置情報を取得する。
この格納位置情報の取得は、格納位置情報取得部48に
より行なわれ、取得された格納位置情報はトレース情報
格納部46に保持される。次のステップ106ではトレ
ース情報をRAM36に転送し、トレース情報格納エリ
ア40の第1のプロセッサ用の記憶エリア群40Aのう
ち、前記取得した格納位置情報に対応する記憶エリアに
トレース情報を格納する。この処理はトレース情報格納
部46により行なわれる。
At the next step 104, the storage position information held in the storage position information holding area 38 is acquired.
The storage position information is acquired by the storage position information acquisition unit 48, and the acquired storage position information is held in the trace information storage unit 46. In the next step 106, the trace information is transferred to the RAM 36, and the trace information is stored in the storage area group 40A of the trace information storage area 40 for the first processor which corresponds to the acquired storage location information. This processing is performed by the trace information storage unit 46.

【0024】ステップ108では次格納位置の算出を行
なう。この次格納位置の算出は、格納位置情報取得部4
8からの指示により次格納位置算出部50で行なわれ
る。次格納位置算出部50では現在の格納位置情報とし
て、記憶エリア群の末尾の記憶エリア(図2において
「n」の符号が付された記憶エリア)のアドレスが設定
されている場合には、次格納位置情報として記憶エリア
群の先頭の記憶エリア(図2において「1」の符号が付
された記憶エリア)のアドレスを求め、現在の格納位置
情報として、記憶エリア群の末尾以外の記憶エリアのア
ドレスが設定されている場合には、次格納位置情報とし
て次の記憶エリアのアドレスを求める。そして、ステッ
プ110では算出した次格納位置情報を格納位置情報保
持エリア38に設定して処理を終了する。
In step 108, the next storage position is calculated. The storage position information acquisition unit 4 calculates the next storage position.
This is performed by the next storage position calculation unit 50 according to the instruction from 8. In the next storage position calculation unit 50, when the address of the storage area at the end of the storage area group (the storage area to which the symbol “n” is added in FIG. 2) is set as the current storage position information, As the storage location information, the address of the top storage area (the storage area to which the reference numeral “1” is attached in FIG. 2) of the storage area group is obtained, and as the current storage location information, the storage areas other than the end of the storage area group When the address is set, the address of the next storage area is obtained as the next storage position information. Then, in step 110, the calculated next storage position information is set in the storage position information holding area 38, and the process ends.

【0025】次に第2のプロセッサ14で実行されるト
レース情報格納処理について図4のフローチャートを参
照して説明する。この処理は図3に示した処理とほぼ同
じであり、ステップ120では単調増加番号発生部54
を起動してトレース情報に付加するための番号を取得
し、ステップ122では格納すべきトレース情報に対し
て前記取得した番号を識別情報として付加し、次のステ
ップ124では格納位置情報保持エリア38に保持され
ている格納位置情報を格納位置情報取得部58により取
得する。
Next, the trace information storage processing executed by the second processor 14 will be described with reference to the flowchart of FIG. This processing is almost the same as the processing shown in FIG. 3, and in step 120, the monotonically increasing number generation unit 54
To acquire a number to be added to the trace information, the acquired number is added to the trace information to be stored as identification information in step 122, and the storage position information holding area 38 is stored in step 124. The stored storage position information is acquired by the storage position information acquisition unit 58.

【0026】ステップ126ではトレース情報格納部5
6によりトレース情報をRAM36に転送し、トレース
情報格納エリア40の第2のプロセッサ用の記憶エリア
群40Bのうち、前記取得した格納位置情報に対応する
記憶エリアにトレース情報を格納する。ステップ128
では格納位置情報取得部58からの指示により、次格納
位置算出部60で次格納位置の算出を前記と同様にして
行なう。そして、ステップ130では算出した次格納位
置情報を格納位置情報保持エリア38に設定して処理を
終了する。
In step 126, the trace information storage unit 5
6, the trace information is transferred to the RAM 36, and the trace information is stored in the storage area group 40B for the second processor of the trace information storage area 40, which corresponds to the acquired storage position information. Step 128
Then, in accordance with an instruction from the storage position information acquisition unit 58, the next storage position calculation unit 60 calculates the next storage position in the same manner as described above. Then, in step 130, the calculated next storage position information is set in the storage position information holding area 38, and the process ends.

【0027】上記処理により、一例として図5(A)に
も示すように、第1のプロセッサ12からトレース情報
格納エリア40の記憶エリア群40Aに格納されるトレ
ース情報には、第1のプロセッサ12でトレース情報が
発生する毎に値が増加する単調増加番号が識別情報とし
て付加(図5(A)では単調増加番号Nの識別情報を<
N >として示す)され、第2のプロセッサ14からトレ
ース情報格納エリア40の記憶エリア群40Bに格納さ
れるトレース情報には、第2のプロセッサ14でトレー
ス情報が発生する毎に値が増加する単調増加番号が識別
情報として付加される。
By the above processing, as shown in FIG. 5A as an example, the trace information stored in the storage area group 40A of the trace information storage area 40 from the first processor 12 includes the first processor 12 in the trace information. A monotonically increasing number that increases every time trace information is generated is added as identification information (in FIG. 5A, the identification information of the monotonically increasing number N is
N>), and the trace information stored in the storage area group 40B of the trace information storage area 40 from the second processor 14 has a monotonic value that increases every time the trace information is generated in the second processor 14. The increase number is added as identification information.

【0028】また、図5(A)には第1のプロセッサ1
2及び第2のプロセッサ14によるトレース情報格納の
シーケンスの一例を、図5(B)には図5(A)のシー
ケンスによりトレース情報格納エリア40の記憶エリア
群40A、40Bに格納されるトレース情報を示し(図
5(B)のトレース情報と図5(A)のトレース情報格
納シーケンスとの対応は丸付き数字で示す)ているが、
図5からも明らかなように、格納位置情報保持エリア3
8に保持される格納位置情報は第1のプロセッサ12又
は第2のプロセッサ14でトレース情報を格納する毎に
更新され、第1のプロセッサ12及び第2のプロセッサ
14で発生したトレース情報は、格納位置情報保持エリ
ア38に保持されている格納位置情報に基づいて、各プ
ロセッサ毎に設けられた複数の記憶エリア群のうち対応
する記憶エリア群の所定の記憶エリアに格納される。
The first processor 1 is shown in FIG.
2 and the example of the sequence of the trace information storage by the second processor 14, FIG. 5B shows the trace information stored in the storage area groups 40A and 40B of the trace information storage area 40 in the sequence of FIG. 5A. (The correspondence between the trace information of FIG. 5B and the trace information storage sequence of FIG. 5A is indicated by circled numbers),
As is clear from FIG. 5, the storage position information holding area 3
The storage position information held in 8 is updated every time the first processor 12 or the second processor 14 stores the trace information, and the trace information generated in the first processor 12 and the second processor 14 is stored. Based on the storage position information held in the position information holding area 38, it is stored in a predetermined storage area of a corresponding storage area group among a plurality of storage area groups provided for each processor.

【0029】これにより、第1のプロッセッサ12及び
第2のプロセッサ14でトレース情報がほぼ同時に発生
し(例えば図5(A)では識別情報< 30 >が付与された
トレース情報と識別情報< 24 >が付与されたトレース情
報)、一方のトレース情報の格納に応じて格納位置情報
を更新する前に、更新前の格納位置情報に基づいて他方
のトレース情報の格納が並行して行なわれたとしても、
トレース情報の上書き等による消失等が発生することは
ない。従って、複雑な排他制御を行なったり、排他制御
を実現するためにバッファ等を設けることなく、互いに
非同期に発生する複数種類のトレース情報を簡単かつ確
実に格納することができる。
As a result, the trace information is generated in the first processor 12 and the second processor 14 substantially at the same time (for example, in FIG. 5A, the trace information and the identification information <24> to which the identification information <30> is added). Even if the other trace information is stored in parallel based on the storage position information before update before updating the storage position information according to the storage of one trace information). ,
The trace information will not be lost due to overwriting. Therefore, it is possible to easily and surely store a plurality of types of trace information that occur asynchronously with each other without performing complicated exclusive control or providing a buffer or the like for realizing exclusive control.

【0030】更に、上記では格納位置情報保持エリア3
8に保持されている格納位置情報を、第1のプロセッサ
12のトレース情報の格納及び第2のプロセッサ14の
トレース情報の格納に際して共通に用いているので、記
憶エリア群40A、40Bの各々へのトレース情報の格
納位置(トレース情報を格納する記憶エリアの位置)
は、第1のプロセッサ12又は第2のプロセッサ14で
トレース情報が格納される度に同様に変化する。このた
め、以下で説明するように、トレース情報の編集出力に
際しては、記憶エリア群40A、40Bに格納された第
1のプロセッサ12及び第2のプロセッサ14のトレー
ス情報の発生順序を、後述するように各記憶エリア群に
おける格納位置(トレース情報を格納している記憶エリ
アの位置)に基づいて判断できる。
Further, in the above, the storage position information holding area 3
Since the storage position information held in 8 is commonly used for storing the trace information of the first processor 12 and the trace information of the second processor 14, the storage position information is stored in each of the storage area groups 40A and 40B. Storage location of trace information (location of storage area for storing trace information)
Similarly changes each time the trace information is stored in the first processor 12 or the second processor 14. Therefore, as described below, when the trace information is edited and output, the generation order of the trace information of the first processor 12 and the second processor 14 stored in the storage area groups 40A and 40B will be described later. In addition, the determination can be made based on the storage position in each storage area group (the position of the storage area storing the trace information).

【0031】すなわち、情報処理装置10で障害等が発
生し、障害の発生原因の解析等を行なうためにトレース
情報の編集出力が指示されると、図2に示すトレース情
報編集出力部62が起動され、トレース情報編集出力処
理が実行される。なお、トレース情報編集出力部62は
第1のプロセッサ12及び第2プロセッサ14の何れに
設けられていてもよい。トレース情報編集出力部62で
実行されるトレース情報編集出力処理について、図6の
フローチャートを参照して説明する。
That is, when a failure or the like occurs in the information processing apparatus 10 and an instruction to edit / output the trace information is given to analyze the cause of the failure, the trace information edit / output unit 62 shown in FIG. 2 is activated. Then, the trace information edit output process is executed. The trace information edit output unit 62 may be provided in either the first processor 12 or the second processor 14. The trace information edit output process executed by the trace information edit output unit 62 will be described with reference to the flowchart of FIG.

【0032】ステップ140では第1のプロセッサ12
の前トレース情報の番号、及び第2のプロセッサ14の
前トレース情報の番号として、各々第1のプロセッサ1
2の単調増加番号発生部44、第2のプロセッサ14の
単調増加番号発生部54で各々発生されて識別情報とし
てトレース情報に付加される最新の番号を各々設定す
る。ステップ142では読出し記憶エリアアドレスとし
て、最新のトレース情報を記憶している記憶エリアのア
ドレス(格納位置情報保持エリア38に格納位置情報と
してアドレスが保持されている記憶エリアより1つ前の
記憶エリアのアドレス)を設定する。
In step 140, the first processor 12
As the number of the pre-trace information of the first processor 1 and the number of the pre-trace information of the second processor 14 respectively.
The latest numbers are generated by the monotonically increasing number generator 44 of No. 2 and the monotonically increasing number generator 54 of the second processor 14 and added to the trace information as identification information. In step 142, as the read storage area address, the address of the storage area in which the latest trace information is stored (the storage area immediately before the storage area whose address is stored in the storage location information storage area 38 as storage location information) Address).

【0033】ステップ144では各記憶エリア群の全て
の記憶エリアをサーチしたか否か判定する。判定が否定
された場合には、ステップ146で第1プロセッサ12
用の記憶エリア群40Aのうち、先に設定した読出し記
憶エリアアドレスに対応する記憶エリアからトレース情
報を読出す。ステップ148では読出したトレース情報
に識別情報として付加されている番号が、先に設定した
第1プロセッサ12の前トレース情報の番号よりも2つ
以上古い(値が小さい)か否か判定する。
In step 144, it is determined whether or not all the storage areas of each storage area group have been searched. If the determination is negative, in step 146 the first processor 12
The trace information is read from the storage area corresponding to the previously set read storage area address in the storage area group 40A for use with. In step 148, it is determined whether or not the number added as the identification information to the read trace information is two or more older (the value is smaller) than the number of the previous trace information of the first processor 12 set previously.

【0034】判定が肯定された場合は、読出したトレー
ス情報をステップ150で「無効」と設定し、ステップ
154へ移行する。また判定が否定された場合は、読出
したトレース情報は、トレース情報格納エリア40に格
納されている第1のプロセッサ12のトレース情報のう
ち未出力でかつ最も新しいトレース情報であると判断で
きるので、ステップ152へ移行し、第1のプロセッサ
12の前トレース情報の番号として読出したトレース情
報の識別情報の番号を設定し、ステップ154へ移行す
る。
If the determination is affirmative, the read trace information is set to "invalid" in step 150, and the process proceeds to step 154. If the determination is negative, the read trace information can be determined to be the newest trace information that has not been output yet among the trace information of the first processor 12 stored in the trace information storage area 40. The process proceeds to step 152, the number of the identification information of the read trace information is set as the number of the previous trace information of the first processor 12, and the process proceeds to step 154.

【0035】ステップ154では、先のステップ146
と同様に、第2プロセッサ14用の記憶エリア群40B
のうち、読出し記憶エリアアドレスに対応する記憶エリ
アからトレース情報を読出す。ステップ156では読出
したトレース情報に識別情報として付加されている番号
が、先に設定した第2のプロセッサ14の前トレース情
報の番号よりも2つ以上古い(値が小さい)か否か判定
する。
In step 154, the previous step 146
Similarly to the storage area group 40B for the second processor 14,
Of the above, the trace information is read from the storage area corresponding to the read storage area address. In step 156, it is determined whether or not the number added as the identification information to the read trace information is two or more older (smaller in value) than the previously set number of the previous trace information of the second processor 14.

【0036】判定が肯定された場合は、読出したトレー
ス情報をステップ158で「無効」と設定し、ステップ
162へ移行する。また判定が否定された場合は、読出
したトレース情報は、トレース情報格納エリア40に格
納されている第2のプロセッサ14のトレース情報のう
ち未出力でかつ最も新しいトレース情報であると判断で
きるので、ステップ160で第2のプロセッサ14の前
トレース情報の番号として、読出したトレース情報の識
別情報の番号を設定し、ステップ162へ移行する。
If the determination is affirmative, the read trace information is set to "invalid" in step 158, and the process proceeds to step 162. When the determination is negative, it can be determined that the read trace information is the latest non-output trace information among the trace information of the second processor 14 stored in the trace information storage area 40. In step 160, the number of the identification information of the read trace information is set as the number of the previous trace information of the second processor 14, and the process proceeds to step 162.

【0037】ステップ162では上記で読出したトレー
ス情報のうち、ステップ150又はステップ158で
「無効」と設定されなかったトレース情報のみを同期ト
レース情報(プロセッサ12、14の各々のトレース情
報を発生順に並べたもの)として出力する。
In step 162, of the trace information read out as described above, only the trace information which is not set as "invalid" in step 150 or step 158 is arranged in synchronization trace information (the trace information of each of the processors 12 and 14 is arranged in the order of occurrence). Output).

【0038】ステップ164では、読出し記憶エリアア
ドレスとして現在設定されているアドレスが、記憶エリ
ア群40A、40Bの最後の記憶エリアのアドレスか否
か判定する。判定が肯定された場合には、ステップ16
6で読出し記憶エリアのアドレスとして記憶エリア群4
0A、40Bの先頭の記憶エリアのアドレスを設定し、
判定が否定された場合には、ステップ168で読出し記
憶エリアのアドレスとして次の記憶エリアのアドレスを
設定した後に、ステップ144へ戻る。そしてステップ
144〜168が所定回繰り返された後に、ステップ1
44の判定が肯定されると、トレース情報編集出力処理
を終了する。
In step 164, it is determined whether the address currently set as the read storage area address is the address of the last storage area of the storage area groups 40A and 40B. If the determination is positive, step 16
Storage area group 4 as the address of the read storage area at 6
Set the address of the first storage area of 0A and 40B,
When the determination is negative, the address of the next storage area is set as the address of the read storage area in step 168, and then the process returns to step 144. After steps 144 to 168 are repeated a predetermined number of times, step 1
If the determination at 44 is affirmative, the trace information edit output process ends.

【0039】上記により、記憶エリア群40A、40B
に各々格納された第1のプロセッサ12のトレース情報
及び第2のプロセッサ14のトレース情報を、トレース
情報格納エリア40への格納順に正確に出力することが
でき、障害等の原因の解析を容易に行なうことができ
る。また、トレース情報格納エリア40をRAM36に
設けているので、第1のプロセッサ12又は第2のプロ
セッサ14が障害等により動作を停止したとしても、動
作を停止したプロセッサのトレース情報を読出すことは
可能である。
From the above, the storage area groups 40A, 40B
The trace information of the first processor 12 and the trace information of the second processor 14, which are respectively stored in, can be accurately output in the order in which they are stored in the trace information storage area 40, facilitating the analysis of the cause of a failure or the like. Can be done. Further, since the trace information storage area 40 is provided in the RAM 36, even if the operation of the first processor 12 or the second processor 14 is stopped due to a failure or the like, the trace information of the stopped processor can be read. It is possible.

【0040】また、トレース情報格納エリア40へのト
レース情報の格納、トレース情報格納エリア40からの
トレース情報の読出しにあたり、第1のプロセッサ12
と第2のプロセッサ14との間でトレース情報を転送す
る必要はないので、トレース情報を転送するために双方
のプロセッサに同時に大きな負荷が加わり、情報処理装
置10の処理能力が一時的に低下してしまうこともな
い。
When storing the trace information in the trace information storage area 40 and reading the trace information from the trace information storage area 40, the first processor 12
Since it is not necessary to transfer the trace information between the second processor 14 and the second processor 14, a large load is applied to both processors at the same time in order to transfer the trace information, and the processing capability of the information processing device 10 is temporarily reduced. It doesn't get lost.

【0041】なお、第1のプロセッサ12、第2のプロ
セッサ14は、共働して1つの処理を実行する複数のプ
ロセッサ(CPU)を備えた構成(例えば通信等におい
て低レイヤの処理を実行するサブプロセッサ等を備えた
構成)であってもよい。
The first processor 12 and the second processor 14 are configured to include a plurality of processors (CPUs) that cooperate to execute one process (for example, to execute a lower layer process in communication or the like). A configuration including a sub processor or the like ) may be used.

【0042】また、上記では本発明に係る処理部として
2つのプロセッサ(第1のプロセッサ12及び第2のプ
ロセッサ14)を設け、各プロセッサに対応して記憶エ
リア群40A、40Bを設けた構成を例に説明したが、
プロセッサの数や記憶エリア群の数はこれに限定される
ものではなく、より多数のプロセッサや記憶エリア群を
設けるようにしてもよいし、複数の処理(タスク)を時
分割等により並列に実行する単一のプロセッサで処理部
を構成し、該処理部で発生されるトレース情報の種類数
に応じた数の記憶エリア群を設けるようにしてもよい。
Further, in the above description, two processors (first processor 12 and second processor 14) are provided as processing units according to the present invention, and storage area groups 40A and 40B are provided corresponding to the respective processors. As explained in the example,
The number of processors and the number of storage area groups are not limited to this, and a larger number of processors and storage area groups may be provided, or a plurality of processes (tasks) may be executed in parallel by time division or the like. Alternatively, the processing unit may be configured by a single processor, and the number of storage area groups may be provided according to the number of types of trace information generated by the processing unit.

【0043】[0043]

【発明の効果】以上説明したように本発明は、トレース
情報が発生する毎に、発生したトレース情報に識別情報
として付加するための単調増加番号を複数種類のトレー
ス情報毎に発生させ、トレース情報記憶手段の前記発生
したトレース情報に対応する記憶エリア群の多数の記憶
エリアのうち、保持手段に保持されている格納位置情報
が表す記憶エリアに、単調増加番号を付加したトレース
情報を格納すると共に、保持手段に保持されている格納
位置情報を更新するようにしたので、互いに非同期に発
生する複数種類のトレース情報を、正しい順序を判断可
能で簡単かつ確実に格納することができる、という優れ
た効果を有する。
As described above, according to the present invention, every time trace information is generated , identification information is added to the generated trace information.
Tray of multiple types with a monotonically increasing number to be added as
Of the plurality of storage areas corresponding to the generated trace information in the trace information storage means, the storage area indicated by the storage position information held in the holding means indicates a monotonically increasing number. Since the trace information added with is stored and the storage position information held in the holding means is updated, the correct order can be determined easily and reliably for multiple types of trace information that occur asynchronously with each other. It has an excellent effect that it can be stored.

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

【図1】本実施例に係る情報処理装置の概略構成を示す
ブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of an information processing apparatus according to an embodiment.

【図2】情報処理装置の第1のプロセッサ及び第2のプ
ロセッサのCPUの備えている各種機能のうち、トレー
ス情報の格納、出力に関連する機能をブロックに分けて
示す機能ブロック図である。
FIG. 2 is a functional block diagram showing the functions related to storage and output of trace information among the various functions of the CPUs of the first processor and the second processor of the information processing apparatus, divided into blocks.

【図3】第1のプロセッサのCPUで実行されるトレー
ス情報格納処理を説明するフローチャートである。
FIG. 3 is a flowchart illustrating a trace information storage process executed by the CPU of the first processor.

【図4】第2のプロセッサのCPUで実行されるトレー
ス情報格納処理を説明するフローチャートである。
FIG. 4 is a flowchart illustrating a trace information storage process executed by the CPU of the second processor.

【図5】(A)はトレース情報格納処理によるトレース
情報の格納の流れの一例を示すシーケンス図、(B)は
(A)のシーケンスによりトレース情報が格納されたト
レース情報格納エリアを示すイメージ図である。
5A is a sequence diagram showing an example of a flow of trace information storage by trace information storage processing, and FIG. 5B is an image diagram showing a trace information storage area in which trace information is stored according to the sequence of FIG. is there.

【図6】トレース情報編集出力処理を説明するフローチ
ャートである。
FIG. 6 is a flowchart illustrating a trace information edit output process.

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

10 情報処理装置 12 第1のプロセッサ 14 第2のプロセッサ 36 RAM 38 格納位置情報保持エリア 40 トレース情報格納エリア 10 Information processing equipment 12 First Processor 14 Second processor 36 RAM 38 Storage location information holding area 40 Trace information storage area

フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 11/28 - 11/34 G06F 9/46 G06F 15/16 - 15/177 JSTPLUSファイル(JOIS)Front page continuation (58) Fields surveyed (Int.Cl. 7 , DB name) G06F 11/28-11/34 G06F 9/46 G06F 15/16-15/177 JSTPLUS file (JOIS)

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 各々トレース情報を記憶可能な多数の記
憶エリアで構成された記憶エリア群が、処理部で複数の
処理が並列に実行されることにより互いに非同期に発生
する複数種類のトレース情報に対応して複数設けられた
トレース情報記憶手段と、 前記記憶エリア群の多数の記憶エリアの何れの記憶エリ
アにトレース情報を格納するかを表す格納位置情報を保
持する保持手段と、トレース情報が発生する毎に、該トレース情報に識別情
報として付加するための単調増加番号を前記複数種類の
トレース情報毎に発生させる単調増加番号発生手段と、 トレース情報が発生する毎に、トレース情報記憶手段の
前記発生したトレース情報に対応する記憶エリア群の多
数の記憶エリアのうち、前記保持手段に保持されている
格納位置情報が表す記憶エリアに、前記単調増加番号を
付加した前記トレース情報を格納すると共に、前記保持
手段に保持されている格納位置情報を更新するトレース
情報格納制御手段と、 を含む情報処理装置。
1. A storage area group composed of a large number of storage areas each capable of storing trace information is converted into a plurality of types of trace information that are asynchronously generated by a plurality of processes being executed in parallel in a processing unit. Trace information storage means provided correspondingly, holding means for holding storage position information indicating in which storage area of a large number of storage areas of the storage area the trace information is stored, and trace information is generated. Each time the trace information is
A monotonically increasing number to be added as a report
A monotonically increasing number generating means for generating each trace information, and each time the trace information is generated, held in the holding means among a large number of storage areas of the storage area group corresponding to the generated trace information in the trace information storage means The monotonically increasing number is stored in the storage area indicated by the stored location information.
An information processing device comprising: trace information storage control means for storing the added trace information and updating the storage position information held in the holding means.
【請求項2】 複数の処理を並列に実行する処理部と、
各々トレース情報を記憶可能な多数の記憶エリアで構成
された記憶エリア群が前記処理部による処理の実行によ
り互いに非同期に発生する複数種類のトレース情報に対
応して複数設けられたトレース情報記憶手段と、前記記
憶エリア群の多数の記憶エリアの何れの記憶エリアにト
レース情報を格納するかを表す格納位置情報を保持する
保持手段と、を備えた情報処理装置において、 トレース情報が発生する毎に、該トレース情報に識別情
報として付加するための単調増加番号を前記複数種類の
トレース情報毎に発生させ、トレース情報記憶手段の前
記発生したトレース情報に対応する記憶エリア群の多数
の記憶エリアのうち、前記保持手段に保持されている格
納位置情報が表す記憶エリアに、前記単調増加番号を付
加した前記トレース情報を格納すると共に、前記保持手
段に保持されている格納位置情報を更新することを特徴
とするトレース情報格納方法。
2. A processing unit for executing a plurality of processes in parallel,
A plurality of storage area groups each of which is capable of storing trace information, and a plurality of trace information storage means are provided corresponding to a plurality of types of trace information that are generated asynchronously with each other by the execution of the processing by the processing unit; In an information processing device including: a storage unit that stores storage position information indicating which storage area of the plurality of storage areas to store the trace information, each time trace information is generated, Identification information in the trace information
A monotonically increasing number to be added as a report
Generated for each trace information, among the many storage areas of the storage area group corresponding to the generated trace information of the trace information storage means, in the storage area represented by the storage position information held in the holding means, the monotonic With increasing number
A method for storing trace information, characterized by storing the added trace information and updating the storage position information held in the holding means.
JP08557995A 1995-04-11 1995-04-11 Information processing apparatus and trace information storage method Expired - Fee Related JP3491379B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP08557995A JP3491379B2 (en) 1995-04-11 1995-04-11 Information processing apparatus and trace information storage method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP08557995A JP3491379B2 (en) 1995-04-11 1995-04-11 Information processing apparatus and trace information storage method

Publications (2)

Publication Number Publication Date
JPH08286951A JPH08286951A (en) 1996-11-01
JP3491379B2 true JP3491379B2 (en) 2004-01-26

Family

ID=13862731

Family Applications (1)

Application Number Title Priority Date Filing Date
JP08557995A Expired - Fee Related JP3491379B2 (en) 1995-04-11 1995-04-11 Information processing apparatus and trace information storage method

Country Status (1)

Country Link
JP (1) JP3491379B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9098628B2 (en) 2012-07-26 2015-08-04 International Business Machines Corporation Memory system with multiple block write control to control state data

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4594889B2 (en) 2006-03-27 2010-12-08 富士通株式会社 Method for tracing program executed on a system including a plurality of processing devices, and system including a plurality of processing devices
JP2011028458A (en) * 2009-07-23 2011-02-10 Panasonic Corp Performance state monitoring device and performance state monitoring method
JP5874433B2 (en) * 2012-02-20 2016-03-02 富士通株式会社 Trace coupling device and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9098628B2 (en) 2012-07-26 2015-08-04 International Business Machines Corporation Memory system with multiple block write control to control state data

Also Published As

Publication number Publication date
JPH08286951A (en) 1996-11-01

Similar Documents

Publication Publication Date Title
US5717950A (en) Input/output device information management system for multi-computer system
US5528753A (en) System and method for enabling stripped object software monitoring in a computer system
US6119209A (en) Backup directory for a write cache
JP2644780B2 (en) Parallel computer with processing request function
US5261067A (en) Method and apparatus for providing synchronized data cache operation for processors in a parallel processing system
JPH04229355A (en) Data access method and data processing system
US5604894A (en) Memory management system for checkpointed logic simulator with increased locality of data
US5692153A (en) Method and system for verifying execution order within a multiprocessor data processing system
US5717956A (en) System for batch processing of commands by emulating command string and record format if the string detector detects command is of a specified command string
JPH08328933A (en) File access control system for parallel processing system
JP3491379B2 (en) Information processing apparatus and trace information storage method
US6393533B1 (en) Method and device for controlling access to memory
JPH09160798A (en) Testing device for plant control system
KR960014980B1 (en) Computer system including lan analyzer and method of analyzing communication procedure
JPH06149485A (en) Data completion guarantee processing method
JPH0816881B2 (en) Database update method
US6311266B1 (en) Instruction look-ahead system and hardware
JP2006079485A (en) Method for information collection for fault analysis in electronic computer
JPH08286950A (en) Information processor and trace information storage method
EP0445954A2 (en) Synchronising concurrent processes in a computer system
JP3498702B2 (en) Computer system and trace information control method used therefor
CN116383134B (en) Trace generation method, system, equipment and medium for multi-core network-on-chip evaluation
JP3130798B2 (en) Bus transfer device
JP2980610B2 (en) Transaction management device
JP3147862B2 (en) Trace collection method for multiple online control programs

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees