JP2010061364A - Method and device for storing trace data - Google Patents

Method and device for storing trace data Download PDF

Info

Publication number
JP2010061364A
JP2010061364A JP2008226011A JP2008226011A JP2010061364A JP 2010061364 A JP2010061364 A JP 2010061364A JP 2008226011 A JP2008226011 A JP 2008226011A JP 2008226011 A JP2008226011 A JP 2008226011A JP 2010061364 A JP2010061364 A JP 2010061364A
Authority
JP
Japan
Prior art keywords
trace data
nonvolatile memory
blocks
block
storage device
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.)
Withdrawn
Application number
JP2008226011A
Other languages
Japanese (ja)
Inventor
Eiji Harada
英治 原田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2008226011A priority Critical patent/JP2010061364A/en
Publication of JP2010061364A publication Critical patent/JP2010061364A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To reduce a possibility of causing deficiency of useful trace data in a failure analysis in storing the trace data in a nonvolatile memory when a failure occurs with respect to a method and device for storing the trace data. <P>SOLUTION: In saving the trace data stored in a main storage device (RAM) 20 in a nonvolatile memory 30 when any failure occurs, a log management part 11 divides the trace data stored in the main storage device (RAM) 20 into blocks of a prescribed size, and successively traces the trace data from the block (VI) of the trace data of the site just before the point of time when the save instruction is received due to the occurrence of the failure to the block of the site at the past point of time, that is, writes the trace data in the nonvolatile memory 30 by block units in the order of V to IV to III to II to I. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、トレースデータの保存方法及び装置に関する。本発明は例えば、障害発生時のトレースデータを不揮発メモリに保存する保存方法及び装置に係る。   The present invention relates to a trace data storage method and apparatus. The present invention relates to, for example, a storage method and apparatus for storing trace data when a failure occurs in a nonvolatile memory.

WiMAX(Worldwide Interoperability for Microwave Access)のアクセスポイントやS3G(Super 3rd Generation)携帯電話方式のベースバンド(BB:Baseband)カードカードなど、書換え回数に制限が有る不揮発性メモリ(フラッシュメモリ等)を外部記憶装置(ストレージ)として使用する装置では、プログラムの実行履歴や無効処理履歴など、書換え頻度の多いトレースデータを、通常、揮発性のメモリである主記憶装置(RAM)にファイル形式で保存する。 WiMAX (Worldwide Interoperability for Microwave Access) of the access point and S3G (Super 3 rd Generation) base band of mobile phone system (BB: Baseband) such as card card, an external non-volatile memory, which limits the number of rewriting times there (flash memory, etc.) In a device used as a storage device (storage), trace data frequently rewritten, such as a program execution history and invalid processing history, is usually saved in a file format in a main storage device (RAM) which is a volatile memory.

図6はトレースデータの出力及びその取得の態様を示す。中央処理装置(CPU)10は、各種処理を行うタスクA、タスクB、タスクC・・・と、監視タスクと、ログ管理部11とを備え、各タスクA、タスクB、タスクC・・・は、タスク実行時、ログ管理部11にトレースデータの出力を依頼する(6−1)。   FIG. 6 shows how trace data is output and acquired. The central processing unit (CPU) 10 includes a task A, a task B, a task C,... That performs various processes, a monitoring task, and a log management unit 11, and each task A, task B, task C,. Requests the log management unit 11 to output trace data during task execution (6-1).

組み込みLinux(登録商標)等では、主記憶装置(RAM)20の一部をトレースログ使用領域として扱い、ログ管理部11は、トレースデータを主記憶装置(RAM)20のトレースログ使用領域に出力する依頼を行う(6−2)。   In embedded Linux (registered trademark) or the like, a part of the main storage device (RAM) 20 is treated as a trace log use area, and the log management unit 11 outputs trace data to the trace log use area of the main storage device (RAM) 20. (6-2).

トレースデータの取得は、随時、開発者/オペレータが外部制御装置200からネットワークを介してログ管理部11に対して取得依頼(6−3)を行うと、ログ管理部11は、トレースデータを主記憶装置(RAM)20のトレースログ使用領域からのトレースデータの取得を依頼し(6−4)、該トレースデータを外部制御装置200に応答データとして返送する。開発者/オペレータは、該トレースデータをプログラムの問題解析等に使用する。   When the developer / operator makes an acquisition request (6-3) to the log management unit 11 from the external control device 200 via the network, the log management unit 11 acquires the trace data as needed. A request is made to acquire trace data from the trace log use area of the storage device (RAM) 20 (6-4), and the trace data is returned to the external control device 200 as response data. The developer / operator uses the trace data for program problem analysis and the like.

装置100内でシステムプログラム等に障害が発生し、システムの再起動を行う場合、主記憶装置(RAM)20の記憶領域は初期化されるため、再起動を行う前にトレースデータを不揮発メモリ30へ退避(コピー)する動作が必要となる。   When a system program or the like fails in the apparatus 100 and the system is restarted, the storage area of the main storage device (RAM) 20 is initialized, so the trace data is stored in the nonvolatile memory 30 before restarting. The operation to save (copy) to is required.

これを図7で説明すると、例えばタスクAの実施時に障害が発生し(7−1)、監視タスクで異常を検知し、再起動の要否判定で再起動要と判定した場合(7−2)、監視タスクは、ログ管理部11に対してトレースデータの退避(コピー)命令を送出する(7−3)。   This will be described with reference to FIG. 7. For example, when a failure occurs during execution of task A (7-1), an abnormality is detected in the monitoring task, and it is determined that restart is necessary in the determination of whether or not restart is required (7-2) The monitoring task sends a trace data save (copy) command to the log management unit 11 (7-3).

ログ管理部11は、該退避(コピー)命令に対して、主記憶装置(RAM)20からトレースデータを不揮発メモリ30に退避(コピー)する指示をデータ転送部40に送出する(7−4)。データ転送部40は、該指示により、主記憶装置(RAM)20に保存されたトレースデータを不揮発メモリ30に転送する。   In response to the save (copy) command, the log management unit 11 sends an instruction to save (copy) the trace data from the main storage device (RAM) 20 to the nonvolatile memory 30 to the data transfer unit 40 (7-4). . The data transfer unit 40 transfers the trace data stored in the main storage device (RAM) 20 to the nonvolatile memory 30 in accordance with the instruction.

トレースデータの格納管理については、例えば下記の特許文献1等によって知られている。
特開平5−134895号公報
The storage management of trace data is known, for example, from Patent Document 1 below.
JP-A-5-134895

障害発生時に、トレースデータを不揮発メモリ30に退避(コピー)することにより、トレースデータは障害発生によって消失することなく保存されるが、不揮発メモリ30の動作速度は遅く、不揮発メモリ30へのトレースデータの書込みには長い時間を要する。従って、障害時に実行される障害タスクの影響や、サービス停止時間の短縮化のために、トレースデータの退避(コピー)の全てが完了しないうちに、システムの初期化・再起動を開始してしまう場合がある。即ち、データ転送部40による転送処理が途中で停止してしまう場合がある。   By saving (copying) the trace data to the nonvolatile memory 30 when a failure occurs, the trace data is saved without being lost due to the failure, but the operation speed of the nonvolatile memory 30 is slow, and the trace data to the nonvolatile memory 30 is saved. It takes a long time to write Therefore, system initialization / restart will start before all trace data is saved (copied) due to the influence of faulty tasks executed at the time of failure and shortening of service stop time. There is a case. In other words, the transfer process by the data transfer unit 40 may stop halfway.

このような場合、不揮発メモリ30のトレースデータ保存領域の内部データやファイル構成情報等に欠損が発生し、トレースデータの読出しを正常に行うことができなくなる。また、一部のトレースデータを保存することができたとしても、トレースデータのファイル保存は、トレースデータ先頭部から行われるため、障害発生に関係する特徴的な部位や、障害の解析に必要な部位のデータの保存が失敗する可能性がある。   In such a case, the internal data and file configuration information in the trace data storage area of the nonvolatile memory 30 are lost, and the trace data cannot be read normally. Even if some trace data can be saved, the trace data file is saved from the beginning of the trace data, so it is necessary to analyze the characteristic parts related to the fault occurrence and the fault analysis. Saving part data may fail.

図8は再起動前のトレースデータ保存処理の従来のシーケンス例を示す。同図の(a)は正常時のトレースデータ保存を示している。即ち、タスクAで障害が発生し、該障害が監視タスクに通知されると(8−1)、監視タスクはトレースデータの退避(コピー)命令をログ管理部に送出し(8−2)、ガードタイマを起動する。   FIG. 8 shows a conventional sequence example of the trace data storing process before restarting. (A) of the figure shows the trace data storage at the normal time. That is, when a failure occurs in task A and the failure is notified to the monitoring task (8-1), the monitoring task sends a trace data save (copy) command to the log management unit (8-2), Start the guard timer.

ログ管理部は、上記退避(コピー)命令を受けると、データ転送部にトレースデータの退避(コピー)指示を送出する(8−3)。データ転送部は、主記憶装置から不揮発メモリへのトレースデータの転送を開始し(8−4)、全てのトレースデータの退避(コピー)が終了すると、ログ管理部に退避(コピー)の終了を通知する(8−5)。   When the log management unit receives the save (copy) command, it sends a trace data save (copy) instruction to the data transfer unit (8-3). The data transfer unit starts to transfer the trace data from the main storage device to the nonvolatile memory (8-4), and when saving (copying) of all the trace data is completed, the log management unit finishes saving (copying). Notify (8-5).

ログ管理部は該退避(コピー)の終了の通知を受けると、監視タスクに退避(コピー)の終了を通知する(8−6)。監視タスクは、ガードタイマを停止し(8−7)、タスクA及びログ管理部に停止命令を送出する(8−8,8−9)。その後、再起動処理が行われる(8−10)。   Upon receiving the notification of the end of the saving (copying), the log management unit notifies the monitoring task of the end of the saving (copying) (8-6). The monitoring task stops the guard timer (8-7), and sends a stop command to task A and the log management unit (8-8, 8-9). Thereafter, a restart process is performed (8-10).

一方、同図(b)に示すように、データ転送部が主記憶装置から不揮発メモリへトレースデータを転送している最中に、監視タスクのガードタイマがタイムアウトした場合、監視タスクは、タスクA及びログ管理部に停止命令を送出する(8−11,8−12)ため、ログ管理部はデータ転送部に停止命令を送出して強制終了させる(8−13)。従って、退避(コピー)が途中で中断し、トレースデータのファイル全体が破損又はデータ欠損となる。   On the other hand, when the guard timer of the monitoring task times out while the data transfer unit is transferring the trace data from the main storage device to the nonvolatile memory as shown in FIG. In order to send a stop command to the log management unit (8-11, 8-12), the log management unit sends a stop command to the data transfer unit and forcibly terminates it (8-13). Therefore, saving (copying) is interrupted in the middle, and the entire trace data file is damaged or data is lost.

また、同図(c)に示すように、データ転送部が主記憶装置から不揮発メモリへトレースデータを転送している最中に、タスク異常等により異常終了した場合、再起動処理が実行される。従って、再起動によりログ管理部及びデータ転送部も初期化され、トレースデータのファイル全体が破損又はデータ欠損となる。   Also, as shown in FIG. 5C, when the data transfer unit is transferring the trace data from the main storage device to the nonvolatile memory, when the task is abnormally terminated due to a task error or the like, a restart process is executed. . Accordingly, the log management unit and the data transfer unit are also initialized by the restart, and the entire trace data file is damaged or data is lost.

ここで、トレースデータの特徴について説明する。トレースデータは、図9に示すようにトレースログとして時間の経過に従って主記憶装置(RAM)上に順番に格納される。装置が障害を検知して不揮発メモリへのトレースデータの退避(コピー)を開始するとき、障害を示すトレースデータ9−3は、退避(コピー)命令9−4の契機より早い時期(トレースログの上方)に出現する。また、障害の兆候を示すトレースデータ9−1,9−2も取得されている可能性が有り、それは障害を示すトレースデータ9−3より早い時期(トレースログの上方)に出現する。   Here, the characteristics of the trace data will be described. As shown in FIG. 9, the trace data is sequentially stored on the main memory (RAM) as a trace log as time passes. When the apparatus detects a failure and starts saving (copying) the trace data to the nonvolatile memory, the trace data 9-3 indicating the failure is earlier than the trigger of the save (copy) command 9-4 (in the trace log). Appears above). In addition, there is a possibility that trace data 9-1 and 9-2 indicating a failure sign are also acquired, and they appear earlier than the trace data 9-3 indicating a failure (above the trace log).

トレースログは、障害とは関連の無いトレースデータも含めて保存されるため、退避(コピー)命令9−4の発生時に、プログラムにより障害発生位置を特定することはできない。しかし、退避(コピー)命令9−4の契機より早期(トレースログの上方)に出現し、かつ、退避(コピー)命令9−4の発生時により近い部位のトレースデータほど、障害に係るトレースデータが含まれている可能性が高い。但し、トレースログの保存領域は有限であり、古いトレースデータは、随時、主記憶装置(RAM)上に別ファイルとして保存されるか、又は消去されるため、既に削除されている可能性もある。   Since the trace log is saved including the trace data not related to the failure, the location of the failure cannot be specified by the program when the save (copy) command 9-4 occurs. However, the trace data associated with the failure is the more trace data that appears earlier than the trigger of the save (copy) instruction 9-4 (above the trace log) and closer to the time when the save (copy) instruction 9-4 occurs. Is likely to be included. However, the trace log storage area is limited, and old trace data is saved as a separate file on the main memory (RAM) or erased from time to time, so it may have already been deleted. .

トレースデータの不揮発メモリへの退避(コピー)は、通常、主記憶装置(RAM)に先に(早く)保存されたトレースデータ(保存領域の上方)から行われる。そのため、トレースデータの退避(コピー)が途中までしか行われない場合は、障害発生部位のトレースデータが退避(コピー)されずに、障害発生前のトレースデータしか保存されない可能性が高くなる。   The saving (copying) of the trace data to the non-volatile memory is normally performed from the trace data (above the save area) previously (early) saved in the main memory (RAM). Therefore, when trace data is saved (copied) only halfway, there is a high possibility that the trace data at the failure occurrence location is not saved (copied) and only the trace data before the failure is saved.

本発明は、障害に係る可能性の高いトレースデータをより確実に保存することを目的とする。   An object of this invention is to preserve | save trace data with high possibility concerning a failure more reliably.

第1の案では、トレースデータの保存方法は、主記憶装置に記憶されたトレースデータを、障害発生時に不揮発メモリに退避させるトレースデータの保存方法において、前記主記憶装置に記憶されたトレースデータを、所定サイズのブロックに分割し、障害発生による退避命令を受信した時点の直前の部位のトレースデータのブロックから過去の時点の部位のブロックに順に遡って、前記ブロック単位にトレースデータを前記不揮発メモリへ書き込みを行うものである。   In a first proposal, the trace data storage method is a trace data storage method in which the trace data stored in the main storage device is saved in a nonvolatile memory when a failure occurs. The trace data stored in the main storage device is stored in the trace data storage method. Divide the data into blocks of a predetermined size and trace the trace data in units of blocks from the block of the trace data immediately before the time when the save command due to the failure is received to the block of the part at the past time To write to.

また、第2の案では、トレースデータの保存装置は、主記憶装置に記憶されたトレースデータを、障害発生時に不揮発メモリに退避させるトレースデータの保存装置において、前記主記憶装置に記憶されたトレースデータを、所定サイズのブロックに分割し、障害発生による退避命令を受信した時点の直前の部位のトレースデータのブロックから過去の時点の部位のブロックに順に遡って、前記ブロック単位にトレースデータを前記不揮発メモリへ書き込む命令を送出するログ管理部と、前記ログ管理部から送出される命令に従って、前記主記憶装置に記憶されたトレースデータを、前記ブロック単位で前記不揮発メモリに書き込むデータ転送部と、を備えたものである。   Further, in the second proposal, the trace data storage device is a trace data storage device that saves the trace data stored in the main storage device in a nonvolatile memory when a failure occurs, and the trace data stored in the main storage device. The data is divided into blocks of a predetermined size, and the trace data is traced back to the block in the block unit from the block of the trace data immediately before the time when the save command due to the failure is received to the block of the part at the past time. A log management unit for sending a command to write to the nonvolatile memory; a data transfer unit for writing the trace data stored in the main storage device into the nonvolatile memory in units of blocks according to the command sent from the log management unit; It is equipped with.

障害解析等における有用なトレースデータの欠損が発生する可能性を減少させることができる。   It is possible to reduce the possibility of loss of useful trace data in failure analysis or the like.

図1は開示のトレースデータ保存処理の一例を示す。同図において、主記憶装置(RAM)20は、トレースデータをトレースログとして記憶するメモリで、高速の揮発性メモリである。不揮発メモリ30は、主記憶装置(RAM)20に記憶されたトレースデータを、障害発生時に退避させて保存するメモリである。   FIG. 1 shows an example of the disclosed trace data storage process. In the figure, a main memory (RAM) 20 is a memory that stores trace data as a trace log, and is a high-speed volatile memory. The nonvolatile memory 30 is a memory that saves and saves the trace data stored in the main storage device (RAM) 20 when a failure occurs.

主記憶装置(RAM)20に記憶されたトレースデータを不揮発メモリ30に保存する際に、ログ管理部11において、トレースデータを所定サイズのブロック単位に分割して不揮発メモリ30に保存する。そして、装置の再起動後、又は外部制御装置によるトレースデータの閲覧要求の入力時に、分割されたトレースデータを元のトレースデータに再構築する。   When the trace data stored in the main storage device (RAM) 20 is saved in the nonvolatile memory 30, the log management unit 11 divides the trace data into blocks of a predetermined size and saves them in the nonvolatile memory 30. Then, after the apparatus is restarted or when a trace data browsing request is input by the external control apparatus, the divided trace data is reconstructed into the original trace data.

ログ管理部11は、監視タスクから退避(コピー)命令を受信すると、トレースデータのデータサイズを基に、退避(コピー)に必要なブロック数及びブロック情報を生成する。図示の例では、ブロック数6、ブロック情報I〜VIを生成する。但し、この時点では、退避(コピー)命令後のブロック情報VIIのトレースデータは存在しない。   Upon receiving a save (copy) command from the monitoring task, the log management unit 11 generates the number of blocks and block information necessary for save (copy) based on the data size of the trace data. In the illustrated example, the number of blocks is 6, and block information I to VI is generated. However, at this time, there is no trace data of the block information VII after the save (copy) instruction.

ブロック情報は、分割した何番目のブロックであるかを示す分割番号(No)、各ブロック内に保存するトレースデータのサイズ、各ブロック内に保存するデータの先頭位置の、トレースデータファイルにおけるアドレス位置を含む。更に、ブロック情報として、不揮発メモリ30への退避(コピー)が完了したか否かを示す書込みフラグを含む。該書込みフラグは、図示の例では、不揮発メモリ30への退避(コピー)が完了したブロックについては“ON”、未完了のブロックについては“OFF”で示している。   The block information includes a division number (No) indicating the number of divided blocks, the size of the trace data stored in each block, and the address position in the trace data file of the start position of the data stored in each block. including. Further, the block information includes a write flag indicating whether saving (copying) to the nonvolatile memory 30 is completed. In the illustrated example, the write flag is indicated by “ON” for a block that has been saved (copied) to the nonvolatile memory 30 and “OFF” for an incomplete block.

不揮発メモリ30には、各々のブロック毎にそれぞれのブロック情報(分割番号、データサイズ)と分割トレースデータとを保存する。1ブロック当たりのデータサイズは、不揮発メモリ30への記録に適した一まとまりのサイズ(例えば、一括動作で書込むことができるサイズ、媒体にもよるが通常1セクタ等)を最大値とする。   The nonvolatile memory 30 stores block information (division number, data size) and division trace data for each block. The maximum data size per block is a set of sizes suitable for recording in the non-volatile memory 30 (for example, a size that can be written in a batch operation, usually one sector depending on the medium).

ログ管理部11は、トレースの退避(コピー)命令の発生を契機として、その時点の直前の部位のブロックから過去の時点に遡って、即ち、トレースデータファイル先頭方向に向かって、順番にブロック単位で不揮発メモリ30へトレースデータの書込みを行う。具体例では、ブロックVI→ブロックV→ブロックIV→ブロックIII→ブロックII→ブロックIの順番で書込みを行う。   In response to the generation of a trace save (copy) command, the log management unit 11 goes back to the past time point from the block immediately before the point in time, that is, in the order of block units in the trace data file head direction. Then, the trace data is written to the nonvolatile memory 30. In a specific example, writing is performed in the order of block VI → block V → block IV → block III → block II → block I.

トレースデータファイルの先頭までの退避(コピー)が完了すると、退避(コピー)命令の発生以降にトレースデータが追加保存されていないかチェックし、追加保存されている場合は、同様にブロック情報(分割番号、データサイズ)を付与して、退避(コピー)命令の発生直後の部位から末尾までのトレースデータの退避(コピー)を行う。具体例では、ブロック情報VIIがこの時点で生成され、フロック数を加算して7とし、ブロックVIIのトレースデータが退避(コピー)される。   When saving (copying) to the beginning of the trace data file is completed, it is checked whether additional trace data has been saved since the save (copy) command was generated. (Number, data size) is assigned, and trace data from the portion immediately after the save (copy) command is generated to the end is saved (copied). In a specific example, block information VII is generated at this point, the number of flocks is added to 7, and the trace data of block VII is saved (copied).

不揮発メモリ30に保存されたブロック単位のトレースデータの再構築は、再起動後又は開発者/オペレータがトレースデータの閲覧を行う契機で実施する。トレースデータの再構築は、ブロック情報を基に、再構築可能な部分についてのトレースデータの構築を行い、欠損部分が有る場合は、その旨の通知を出力する。   The reconstruction of the trace data in units of blocks stored in the nonvolatile memory 30 is performed after the restart or when the developer / operator browses the trace data. The trace data is reconstructed based on the block information by constructing the trace data for the reconfigurable part. If there is a missing part, a notification to that effect is output.

図2に再起動前のトレースデータの分割保存処理のシーケンス例を示す。同図の(a)は正常時のトレースデータの分割保存の例を示している。タスクAで障害が発生し、該障害が監視タスクに通知されると(2−1)、監視タスクはトレースデータの退避(コピー)命令をログ管理部に送出し(2−2)、ガードタイマを起動する。   FIG. 2 shows a sequence example of the divided storage process of the trace data before restarting. (A) of the figure shows an example of dividing and saving the trace data at the normal time. When a failure occurs in task A and the failure is notified to the monitoring task (2-1), the monitoring task sends a trace data save (copy) command to the log management unit (2-2), and the guard timer Start up.

ログ管理部は、上記退避(コピー)命令を受けると、トレースデータをブロック単位に分割し(2−3)、データ転送部にトレースデータのブロック単位(例えば1セクタ)の退避(コピー)命令を送出する(2−4)。データ転送部は、主記憶装置から不揮発メモリ30へ1ブロックのトレースデータの退避(コピー)処理を行い(2−5)、該退避(コピー)が終了するとログ管理部に退避(コピー)の終了を通知する(2−6)。   Upon receiving the save (copy) command, the log management unit divides the trace data into blocks (2-3), and sends a save (copy) command for each block (for example, 1 sector) of the trace data to the data transfer unit. Send out (2-4). The data transfer unit performs a process of saving (copying) one block of trace data from the main storage device to the nonvolatile memory 30 (2-5), and when the saving (copying) is completed, the saving (copying) is completed in the log management unit. (2-6).

ログ管理部は、データ転送部からブロック単位の退避(コピー)の終了の通知を受けると、次のブロックの退避(コピー)命令を送出し、以下同様に、最後のブロックまでの退避(コピー)命令を送出し(2−7)、データ転送部は最後のブロックの退避(コピー)処理を行い(2−8)、終了するとログ管理部に退避(コピー)の終了を通知する(2−9)。   When the log management unit receives a notification of completion of saving (copying) in units of blocks from the data transfer unit, it sends a saving (copying) command for the next block, and similarly, saving to the last block (copying) The command is sent (2-7), and the data transfer unit performs the saving (copying) process of the last block (2-8), and when finished, notifies the log management unit of the end of saving (copying) (2-9) ).

ログ管理部は最後のブロックの退避(コピー)の終了の通知を受けると、監視タスクに退避(コピー)の終了を通知する(2−10)。監視タスクは、ガードタイマを停止し、タスクA及びログ管理部に停止命令を送出する(2−11,2−12)。その後、再起動処理が行われる(2−13)。   When the log management unit receives notification of the end of saving (copying) of the last block, it notifies the monitoring task of the end of saving (copying) (2-10). The monitoring task stops the guard timer and sends a stop command to the task A and the log management unit (2-11, 12-12). Thereafter, a restart process is performed (2-13).

一方、同図(b)に示すように、ブロック単位で主記憶装置から不揮発メモリへトレースデータを転送している最中に、監視タスクのガードタイマがタイムアウトした場合、監視タスクは、タスクA及びログ管理部に停止命令を送出する(2−14,2−15)ため、ログ管理部はデータ転送部に停止命令を送出して強制終了させる(2−16)。   On the other hand, if the guard timer of the monitoring task times out during the transfer of the trace data from the main storage device to the non-volatile memory in units of blocks, the monitoring task is changed to Task A and As shown in FIG. In order to send a stop command to the log manager (2-14, 2-15), the log manager sends a stop command to the data transfer unit and forcibly terminates it (2-16).

従って、退避(コピー)処理が途中で中断し、タイムアウトした時点に退避(コピー)していたブロック(セクタ)及びそれ以降のブロック(セクタ)のトレースデータは欠損となるが、その直前から過去に遡ったトレースデータは、正常に不揮発メモリに保存される。   Therefore, the trace data of the block (sector) that was saved (copied) when the save (copy) process was interrupted halfway and timed out, and the subsequent blocks (sectors) will be lost, but immediately before that, The trace data traced back is normally stored in the nonvolatile memory.

また、同図(c)に示すように、主記憶装置から不揮発メモリへ、ブロック単位でトレースデータを転送している最中に、タスク異常等により異常終了した場合、再起動処理が実行され、再起動によりログ管理部及びデータ転送部も初期化される。しかし、再起動の時点に退避(コピー)していたブロック(セクタ)及びそれ以降のブロック(セクタ)のトレースデータは欠損となるが、その直前から過去に遡ったトレースデータは、正常に不揮発メモリに保存される。   In addition, as shown in FIG. 5C, when the trace data is being transferred from the main storage device to the non-volatile memory in units of blocks, if the process is abnormally terminated due to a task abnormality or the like, a restart process is executed. The log management unit and the data transfer unit are also initialized by the restart. However, the trace data of the block (sector) that was saved (copied) at the time of restart and the subsequent block (sector) are lost, but the trace data traced back to the past immediately before that is normally non-volatile memory Saved in.

なお、保存対象とするトレースデータとしては、以下のようにすることができる。
(1)障害発生部位の可能性が高いトレースデータから保存を開始し、全てのトレースデータを保存する。
(2)障害発生部位の可能性が高いトレースデータから保存を開始し、指定ブロック数分のトレースデータを保存する。
(3)障害発生部位の可能性が高いトレースデータから保存を開始し、指定時間内で保存し得るブロック数分のトレースデータを保存する。但し、この指定時間は、監視タスクのガードタイマ以下の時間とする。
The trace data to be saved can be as follows.
(1) Start saving from trace data that has a high possibility of failure occurrence, and save all trace data.
(2) Start saving from trace data with a high possibility of failure occurrence, and save trace data for the specified number of blocks.
(3) Saving is started from trace data having a high possibility of failure occurrence, and trace data for the number of blocks that can be saved within a specified time is saved. However, this specified time is set to be shorter than the guard timer of the monitoring task.

上記(1)の全てのトレースデータを保存する処理のフロー例を図3に示す。ログ管理部の退避(コピー)処理部は、監視タスクから退避(コピー)命令を受信すると(3−1)、トレースデータのサイズを測定して変数LogSz1に代入する(3−2)。そして、不揮発メモリ書き込み処理(サブルーチン)を起動する(3−3)。   FIG. 3 shows an example of a flow of processing for storing all the trace data (1). When the saving (copying) processing unit of the log management unit receives a saving (copying) command from the monitoring task (3-1), the size of the trace data is measured and substituted into the variable LogSz1 (3-2). Then, the nonvolatile memory writing process (subroutine) is started (3-3).

不揮発メモリ書き込み処理(サブルーチン)の起動の際に、引数として追加ログサイズをトレースデータのサイズLogSz1、退避(コピー)開始位置をトレースデータファイルの先頭、処理順序を降順として渡す。   When starting the nonvolatile memory writing process (subroutine), the additional log size is passed as an argument as the trace data size LogSz1, the save (copy) start position as the head of the trace data file, and the processing order as the descending order.

不揮発メモリ書き込み処理(サブルーチン)は、トレースデータのサイズLogSz1を基に追加ブロック数を以下の算出式により算出する(3−4)。
BlkNUm=(LogSz1+SZ−1)/SZ(小数点以下は切り捨て) (式1)
ここで、BlkNUmは、追加書き込みを行うブロック数、SZは、1ブロックに保存可能なデータサイズ(ブロック情報は除く)である。
In the nonvolatile memory writing process (subroutine), the number of additional blocks is calculated by the following calculation formula based on the size LogSz1 of the trace data (3-4).
BlkNUm = (LogSz1 + SZ-1) / SZ (rounded down after the decimal point) (Formula 1)
Here, BlkNUm is the number of blocks to be additionally written, and SZ is a data size (excluding block information) that can be stored in one block.

追加ブロック数BlkNUmについて具体的な数値を挙げて説明すると、例えば、SZ=100のとき、LogSz1が700であれば、BlkNUmは7であればよい。このとき、
BlkNUm=(700+100−1)/100=799/100=7(少数以下切捨て)となる。
For example, when SZ = 100 and LogSz1 is 700, BlkNUm may be 7 when the number of additional blocks BlkNUm is described. At this time,
BlkNUm = (700 + 100-1) / 100 = 799/100 = 7 (fractions are rounded down).

また、LogSz1が701〜799であれば、BlkNUmは8となる。LogSz1=701のとき、
BlkNUm=(701+100−1)/100=800/100=8となる。
また、LogSz1=799のとき、
BlkNUm=(799+100−1)/100=898/100=8(少数以下切捨て)となる。
従って、上記(式1)の演算により、追加ブロック数BlkNUmが算出される。
If LogSz1 is 701 to 799, BlkNUm is 8. When LogSz1 = 701,
BlkNUm = (701 + 100-1) / 100 = 800/100 = 8.
When LogSz1 = 799,
BlkNUm = (799 + 100-1) / 100 = 898/100 = 8 (fractions are rounded down).
Therefore, the number of additional blocks BlkNUm is calculated by the calculation of (Equation 1).

次に、ブロック情報の生成を行う。ブロック情報の生成は、追加ブロック数BlkNUm分、ブロック情報を生成・保存する処理(3−5)を繰り返し実行する。ここで、ブロック情報は、ログ管理部内の処理領域のブロック情報テーブルの空き領域から上詰めで保存するものとする。   Next, block information is generated. The block information is generated by repeatedly executing the process (3-5) for generating and saving the block information for the number of additional blocks BlkNUm. Here, it is assumed that the block information is stored from the empty area of the block information table of the processing area in the log management unit in the upper order.

次に、退避(コピー)命令発生後のトレースデータを含めた保存データ全体のブロック数を算出するために、全ブロック数TotalBlkNumとして追加ブロック数BlkNumを追加加算する(3−6)。   Next, in order to calculate the number of blocks of the entire stored data including the trace data after the generation of the save (copy) instruction, the additional block number BlkNum is additionally added as the total block number TotalBlkNum (3-6).

次に、不揮発メモリの書き込みを行う。不揮発メモリの書き込みは、以下の処理(3−7〜3−11)を追加ブロック数BlkNUm分、繰り返し実行する。まず、書き込みフラグをチェックし(3−7)、書き込みフラグに“OFF”が設定されていれば、ブロック書き込み用データ編集を行う(3−8)。   Next, the nonvolatile memory is written. For writing to the nonvolatile memory, the following processing (3-7 to 3-11) is repeatedly executed for the number of additional blocks BlkNUm. First, the write flag is checked (3-7). If “OFF” is set in the write flag, block write data editing is performed (3-8).

そして、ログ転送部に退避(コピー)命令を送信し(3−9)、ログ転送部から退避(コピー)終了を受信すると(3−10)、ブロック情報テーブルの書き込みフラグを“ON”に設定する(3−11)。   Then, a save (copy) command is transmitted to the log transfer unit (3-9), and when the end of the save (copy) is received from the log transfer unit (3-10), the write flag of the block information table is set to “ON”. (3-11).

以上の不揮発メモリ書き込み処理(サブルーチン)が終了すると、元のメインルーチン処理に戻る。そして、再びトレースデータのサイズを測定し、該サイズを変数LogSz2に代入する(3−12)。この変数LogSz2は、ログ管理部が監視タスクから退避(コピー)命令を受信した後に主記憶装置に記憶されたトレースデータを含むデータサイズを表している。   When the above nonvolatile memory writing process (subroutine) ends, the process returns to the original main routine process. Then, the size of the trace data is measured again, and the size is substituted into the variable LogSz2 (3-12). This variable LogSz2 represents the data size including the trace data stored in the main storage device after the log management unit receives the save (copy) command from the monitoring task.

次に、変数LogSz2と変数LogSz1との大小比較を行う(3−13)。ここで、変数LogSz2が変数LogSz1より大であれば、ログ管理部が監視タスクから退避(コピー)命令を受信した後に主記憶装置に記憶されたトレースデータが存在することになるので、そのトレースデータを退避(コピー)するために、再度、不揮発メモリ書き込み処理(サブルーチン)を起動する(3−14)。   Next, the variable LogSz2 and the variable LogSz1 are compared in size (3-13). If the variable LogSz2 is larger than the variable LogSz1, the trace data stored in the main storage device after the log management unit receives the save (copy) command from the monitoring task exists. Is saved (copied), the nonvolatile memory writing process (subroutine) is started again (3-14).

このとき、不揮発メモリ書き込み処理(サブルーチン)に引き渡す引数としては、追加ログサイズを、追加分の(LogSz2−LogSz1)、退避(コピー)開始位置を(LogSz1+1)、処理順序を昇順として渡す。不揮発メモリ書き込み処理(サブルーチン)は、該引数を受けて前述した処理フロー3−4〜3−11を同様に実行する。   At this time, as the arguments to be transferred to the nonvolatile memory writing process (subroutine), the additional log size is transferred (LogSz2-LogSz1), the save (copy) start position is (LogSz1 + 1), and the processing order is passed in ascending order. The nonvolatile memory writing process (subroutine) receives the argument and similarly executes the above-described processing flows 3-4 to 3-11.

変数LogSz2が変数LogSz1より大でなければ、ログ管理部が監視タスクから退避(コピー)命令を受信した後に主記憶装置に記憶されたトレースデータが存在しないことになるので、この場合は何も処理しない。そして、監視タスクに退避(コピー)終了を通知する(3−15)。   If the variable LogSz2 is not larger than the variable LogSz1, there is no trace data stored in the main storage device after the log management unit receives a save (copy) command from the monitoring task. do not do. Then, the monitoring task is notified of the end of saving (copying) (3-15).

次に、前述した(2)の指定ブロック数分のトレースデータを保存する処理のフロー例を図4に示す。この処理は、障害発生部位の可能性が高いトレースデータから保存を開始し、予め定められた指定ブロック数分のデータを保存するものである。   Next, FIG. 4 shows a flow example of processing for storing the trace data for the number of designated blocks (2) described above. In this process, saving is started from trace data having a high possibility of a failure occurrence site, and data corresponding to a predetermined number of designated blocks is saved.

この処理の実施においては、ログ管理部内に書込みカウンタ(Write_Counter)を設け、監視タスクから退避(コピー)命令を受信したとき、書込みカウンタ(Write_Counter)の値を0に設定し(4−1)、不揮発メモリへの書込み処理を行う前に、カウンタ(Write_Counter)の値と指定ブロック数(MAX_BLK)との比較を行う(4−2)。   In the implementation of this processing, a write counter (Write_Counter) is provided in the log management unit, and when a save (copy) command is received from the monitoring task, the value of the write counter (Write_Counter) is set to 0 (4-1) Before performing the writing process to the nonvolatile memory, the value of the counter (Write_Counter) is compared with the designated number of blocks (MAX_BLK) (4-2).

カウンタ(Write_Counter)の値が指定ブロック数(MAX_BLK)を超えていなければ、不揮発メモリへの書込み処理を行った後、書込みカウンタ(Write_Counter)に1加算する(4−3)。超えていれば書込み処理を行わない。その他の処理フローは、図3で説明した処理フローと同様である。   If the value of the counter (Write_Counter) does not exceed the specified number of blocks (MAX_BLK), after writing to the non-volatile memory, 1 is added to the write counter (Write_Counter) (4-3). If it exceeds, write processing is not performed. The other processing flow is the same as the processing flow described in FIG.

次に、前述した(3)の指定時間内で保存し得るブロック数分のトレースデータを保存する処理のシーケンス例を図5に示す。この処理は、障害発生部位の可能性が高いトレースデータから保存を開始し、予め定められた指定時間内で保存し得るブロック数分のデータを保存するものである。但し、該指定時間は、監視タスクのガードタイマ以下の時間である。   Next, FIG. 5 shows a sequence example of processing for storing trace data for the number of blocks that can be stored within the specified time of (3) described above. In this process, saving is started from trace data having a high possibility of a failure occurrence site, and data corresponding to the number of blocks that can be saved within a predetermined designated time is saved. However, the specified time is a time shorter than the guard timer of the monitoring task.

図5に示すように、例えばタスクAで障害が発生し、該障害が監視タスクに通知されると(2−1)、監視タスクはトレースデータの退避(コピー)命令をログ管理部に送出し(2−2)、ガードタイマを起動する。ここまでは図2で説明した動作と同様である。   As shown in FIG. 5, for example, when a failure occurs in task A and the failure is notified to the monitoring task (2-1), the monitoring task sends a trace data save (copy) command to the log management unit. (2-2) Start the guard timer. The operation so far is the same as the operation described in FIG.

ログ管理部は、上記退避(コピー)命令を受けると、指定時間分のタイマを起動し、子タスクを生成(5−1)する。子タスクは前述した処理と同様に、トレースデータをブロック単位に分割し(2−3)、データ転送部にトレースデータのブロック単位の退避(コピー)命令を送出する(2−4)。   Upon receiving the save (copy) command, the log management unit activates a timer for a specified time and generates (5-1) a child task. Similar to the processing described above, the child task divides the trace data into blocks (2-3), and sends a save (copy) command of the trace data in blocks to the data transfer unit (2-4).

データ転送部は、主記憶装置から不揮発メモリへ1ブロックのトレースデータの退避(コピー)処理を行い(2−5)、該退避(コピー)が終了するとログ管理部の子タスクに退避(コピー)の終了を通知する(2−6)。   The data transfer unit performs a process of saving (copying) one block of trace data from the main storage device to the nonvolatile memory (2-5), and saving (copying) to the child task of the log management unit when the saving (copying) is completed. Is notified (2-6).

ログ管理部の子タスクは、データ転送部からブロック単位の退避(コピー)の終了の通知を受けると、次のブロックの退避(コピー)命令を順々に送出し(2−7)、データ転送部は退避(コピー)処理を行い(2−8)、終了するとログ管理部の子タスクに退避(コピー)の終了を通知する(2−9)。   When the child task of the log management unit receives a notification of completion of saving (copying) in units of blocks from the data transfer unit, it sequentially sends save (copying) instructions for the next block (2-7), and data transfer The section performs a saving (copying) process (2-8), and when finished, notifies the child task of the log management section of the end of saving (copying) (2-9).

ログ管理部は、その間、指定時間分のタイマの監視を行い、該タイマの完了までに全てのトレースデータの退避(コピー)が完了した場合は、退避(コピー)終了の通知を監視タスクに送信して処理を終了する。この場合は、前述の(1)の全てのトレースデータを保存する処理のフローと同等である。   During this period, the log management unit monitors the timer for the specified time, and when all trace data has been saved (copied) by the completion of the timer, it sends a notice of completion of the save (copy) to the monitoring task. To finish the process. This case is equivalent to the flow of processing for storing all the trace data of (1) described above.

指定時間分のタイマのタイムアウトが発生した場合は、ログ管理部は子タスクに対して割込み処理を行い(5−2)、退避(コピー)処理を停止させる。子タスクは、該割込み処理により停止命令をデータ転送部に送信する(5−3)。また、子タスクは、データ転送部に対して書き込み途中の部位の初期化などのリカバリ処理を行う(5−4)。   When a timer timeout for a specified time occurs, the log management unit performs an interrupt process for the child task (5-2) and stops the save (copy) process. The child task transmits a stop command to the data transfer unit by the interrupt processing (5-3). Further, the child task performs recovery processing such as initialization of a part in the middle of writing to the data transfer unit (5-4).

子タスクによる停止処理は、再起動処理を行うための監視タスクのガードタイマのタイムアウトによるものではなく、自タスクによる停止処理であるため、書き込み途中の部位にデータ破壊等が起きている可能性がある場合は、クリア処理のようなリカバリを行った後に、ログ管理部に退避(コピー)終了の通知を送信することが可能である。   The stop process by the child task is not due to the timeout of the guard timer of the monitoring task for performing the restart process, but is a stop process by the invoking task, so there is a possibility that data destruction or the like has occurred in the part being written In some cases, after performing recovery such as clear processing, it is possible to send a save (copy) end notification to the log management unit.

なお、前述した(2)の指定ブロック数分のトレースデータを保存する形態においても、監視タスクのガードタイマのタイムアウトによる停止ではなく、自タスクによる停止処理であるため、書き込み途中によるデータ破壊等が起こる可能性が少なく、より信頼性の高い保存を行うことが可能となる。   Note that in the above-described form of saving trace data for the specified number of blocks in (2), it is a stop process by its own task, not a stop due to a guard timer time-out of the monitoring task, and therefore data destruction during the writing process, etc. It is less likely that it will occur, making it possible to perform more reliable storage.

ログ管理部は子タスクから退避(コピー)の終了の通知を受けると、監視タスクに退避(コピー)の終了を通知する(2−10)。監視タスクは図2の場合と同様に、ガードタイマを停止し、タスクA及びログ管理部に停止命令を送出する(2−11,2−12)。その後、再起動処理が行われる(2−13)。   When the log management unit receives a notification of the end of saving (copying) from the child task, it notifies the monitoring task of the end of saving (copying) (2-10). As in the case of FIG. 2, the monitoring task stops the guard timer and sends a stop command to task A and the log management unit (2-11, 12-12). Thereafter, a restart process is performed (2-13).

開示のトレースデータ保存処理の一例を示す図である。It is a figure which shows an example of the trace data preservation | save process of an indication. 再起動前のトレースデータの分割保存処理のシーケンス例を示す図である。It is a figure which shows the example of a sequence of the division | segmentation preservation | save processing of the trace data before restart. 全てのトレースデータを保存する処理のフロー例を示す図である。It is a figure which shows the example of a flow of the process which preserve | saves all the trace data. 指定ブロック数分のトレースデータを保存する処理のフロー例を示す図である。It is a figure which shows the example of a flow of a process which preserve | saves the trace data for the designated number of blocks. 指定時間内で保存し得るブロック数分のトレースデータを保存する処理のシーケンス例を示す図である。It is a figure which shows the example of a sequence of the process which preserve | saves the trace data for the number of blocks which can be preserve | saved within the designated time. トレースデータの出力及びその取得の説明図である。It is explanatory drawing of the output of trace data, and its acquisition. 再起動前にトレースデータを不揮発メモリへ退避する動作の説明図である。It is explanatory drawing of the operation | movement which saves trace data to a non-volatile memory before restarting. 再起動前のトレースデータ保存処理の従来のシーケンス例を示す図である。It is a figure which shows the example of the conventional sequence of the trace data preservation | save process before restart. トレースデータの特徴についての説明図である。It is explanatory drawing about the characteristic of trace data.

符号の説明Explanation of symbols

10 中央処理装置(CPU)
11 ログ管理部
20 主記憶装置(RAM)
30 不揮発メモリ
100 装置
200 開発者/オペレータが外部制御装置
10 Central processing unit (CPU)
11 Log management unit 20 Main memory (RAM)
30 Non-volatile memory 100 Device 200 Developer / operator external control device

Claims (4)

記憶装置に記憶されたトレースデータを、障害発生時に不揮発メモリに退避させるトレースデータの保存方法において、
前記記憶装置に記憶されたトレースデータを、所定サイズのブロックに分割し、
障害発生による退避命令を受信した時点の直前の部位のトレースデータのブロックから過去の時点の部位のブロックに順に遡って、前記ブロック単位にトレースデータを前記不揮発メモリへ書き込みを行うことを特徴とするトレースデータの保存方法。
In a trace data saving method for saving trace data stored in a storage device to a nonvolatile memory when a failure occurs,
Dividing the trace data stored in the storage device into blocks of a predetermined size,
Trace data is written to the non-volatile memory in units of blocks from the trace data block immediately before the time when the save command due to the failure is received to the block at the previous time. How to save trace data.
前記不揮発メモリに書き込むブロック数の上限値である指定ブロック数を予め定めておき、前記不揮発メモリに書き込んだブロック数をカウントするカウンタの値と前記指定ブロック数とを比較照合し、
前記カウンタの値が前記指定ブロック数を超えない場合に、ブロック単位のトレースデータを前記不揮発メモリに書き込み、
前記カウンタの値が前記指定ブロック数を超えた場合に、ブロック単位のトレースデータの前記不揮発メモリへの書き込みを行わないことを特徴とする請求項1に記載のトレースデータの保存方法。
Predetermining a designated block number that is an upper limit value of the number of blocks to be written in the nonvolatile memory, and comparing and collating a counter value for counting the number of blocks written in the nonvolatile memory with the designated block number
When the value of the counter does not exceed the specified number of blocks, write the block unit trace data to the nonvolatile memory,
2. The trace data storage method according to claim 1, wherein when the value of the counter exceeds the specified number of blocks, the trace data in units of blocks is not written to the nonvolatile memory.
前記不揮発メモリへの書き込みを行う時間の上限値である指定時間を予め定めておき、前記障害発生による退避命令を受信したときに、前記指定時間までの経過時間を計測するタイマを起動し、
前記不揮発メモリへの書き込みが終了する前に前記指定時間のタイマがタイムアウトしたとき、前記不揮発メモリへの書き込みを停止させることを特徴とする請求項1に記載のトレースデータの保存方法。
Predetermining a specified time that is an upper limit value of the time to write to the nonvolatile memory, when receiving a save command due to the occurrence of a failure, start a timer that measures the elapsed time until the specified time,
2. The trace data storage method according to claim 1, wherein when the timer for the specified time has timed out before the writing to the nonvolatile memory is finished, the writing to the nonvolatile memory is stopped.
記憶装置に記憶されたトレースデータを、障害発生時に不揮発メモリに退避させるトレースデータの保存装置において、
前記記憶装置に記憶されたトレースデータを、所定サイズのブロックに分割し、障害発生による退避命令を受信した時点の直前の部位のトレースデータのブロックから過去の時点の部位のブロックに順に遡って、前記ブロック単位にトレースデータを前記不揮発メモリへ書き込む命令を送出するログ管理部と、
前記ログ管理部から送出される命令に従って、前記記憶装置に記憶されたトレースデータを、前記ブロック単位で前記不揮発メモリに書き込むデータ転送部と、
を備えたことを特徴とするトレースデータの保存装置。
In the trace data storage device that saves the trace data stored in the storage device to the nonvolatile memory when a failure occurs,
Trace data stored in the storage device is divided into blocks of a predetermined size, going back in order from the block of the trace data of the part immediately before the time when the save command due to the failure is received to the block of the part of the past time point, A log management unit for sending an instruction to write trace data to the nonvolatile memory in units of the block;
In accordance with an instruction sent from the log management unit, a data transfer unit that writes the trace data stored in the storage device to the nonvolatile memory in units of blocks;
An apparatus for storing trace data, comprising:
JP2008226011A 2008-09-03 2008-09-03 Method and device for storing trace data Withdrawn JP2010061364A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008226011A JP2010061364A (en) 2008-09-03 2008-09-03 Method and device for storing trace data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008226011A JP2010061364A (en) 2008-09-03 2008-09-03 Method and device for storing trace data

Publications (1)

Publication Number Publication Date
JP2010061364A true JP2010061364A (en) 2010-03-18

Family

ID=42188103

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008226011A Withdrawn JP2010061364A (en) 2008-09-03 2008-09-03 Method and device for storing trace data

Country Status (1)

Country Link
JP (1) JP2010061364A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7358287B2 (en) 2020-03-30 2023-10-10 キオクシア株式会社 Semiconductor storage device and its control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7358287B2 (en) 2020-03-30 2023-10-10 キオクシア株式会社 Semiconductor storage device and its control method

Similar Documents

Publication Publication Date Title
US10503629B2 (en) Debugging method, multi-core processor, and debugging device
US10409709B2 (en) Debugging method, multi-core processor and debugging device
US20210011817A1 (en) Virtual Machine Recovery Method and Virtual Machine Management Device
US7669078B2 (en) Method and apparatus for debugging a program on a limited resource processor
US9471435B2 (en) Information processing device, information processing method, and computer program
CN103827834B (en) A kind of moving method of internal storage data, computing machine and device
DE112012005118T5 (en) Back up firmware while initializing a device
JP2013520744A (en) Method and apparatus for generating minimum boot image
DE112013002254T5 (en) Recover from an legacy operating system environment to a UEFI Preboot environment
JP6195614B2 (en) System, method and computer program for cascading volume source cleaning (cascading volume source cleaning)
CN104077375A (en) Method for handling error catalogs of nodes in CC-NUMA system and nodes
CN104216771A (en) Restarting method and device for software program
JP2010277194A (en) Storage device, data processing method and data processing program
CN107402848A (en) A kind of implementation method of snapshot data uniformity
CN115407943A (en) Memory dump file generation method, device and equipment and readable storage medium
US11023335B2 (en) Computer and control method thereof for diagnosing abnormality
CN114756355B (en) Method and device for automatically and quickly recovering process of computer operating system
JP2010061364A (en) Method and device for storing trace data
US7934067B2 (en) Data update history storage apparatus and data update history storage method
US9971659B1 (en) Memory programming providing corruption protection
CN105353980A (en) Memory data migration method, computer and apparatus
CN109343986B (en) Method and computer system for processing memory failure
CN116701042B (en) Memory data retention method, retention device and related equipment
CN113868023B (en) Snapshot method and device of storage system, electronic equipment and readable storage medium
TWI663544B (en) Fault tolerant operating metohd and electronic device using the same

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20111206