JP2007004793A - 組込型処理装置システム用コードカバレッジ測定方法及び装置 - Google Patents
組込型処理装置システム用コードカバレッジ測定方法及び装置 Download PDFInfo
- Publication number
- JP2007004793A JP2007004793A JP2006168407A JP2006168407A JP2007004793A JP 2007004793 A JP2007004793 A JP 2007004793A JP 2006168407 A JP2006168407 A JP 2006168407A JP 2006168407 A JP2006168407 A JP 2006168407A JP 2007004793 A JP2007004793 A JP 2007004793A
- Authority
- JP
- Japan
- Prior art keywords
- code
- program
- patch
- instruction
- breakpoint
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/362—Software debugging
- G06F11/366—Software debugging using diagnostics
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/362—Software debugging
- G06F11/3644—Software debugging by instrumenting at runtime
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
【解決手段】高機能記憶処理装置内にブレークポイントを有する第1プログラム命令を用意する。機能、容量共に余裕のあるホストの中に第1プログラム命令のブレークポイントに対応するパッチコードを用意し、実行時にブレークポイントを識別するとパッチコードと置き換えて実行し、予想される結果と比較してソフトウェアの良否を判断する。
【選択図】図8
Description
102 ホスト
104 高機能データ記憶サブシステム
106 ネットワークまたはファブリック
108 制御装置
110 データ記憶装置
114 棚
116 中間基板
118 MDA(複数ディスク構成部品)
122 二重化バッテリー
124 二重化交流電源装置
126 二重化インタフェース・モジュール
130 高機能記憶処理装置
132 基板
134,136 ISPサブシステム
140,142 リンク
144 ポリシープロセッサ(ホスト)
146 バス
148 メモリ
162,164 リスト・マネージャ
166 CPS
170 第1プログラム命令
172 命令シーケンス
176 プログラムカウンタ
178 ブレークポイント命令
180 プログラム命令のパッチセット
Claims (20)
- 高機能記憶処理装置用ソフトウェア・コードカバレッジツール装置であって:
高機能記憶処理装置内で実行可能なブレークポイント命令を含む第1プログラム命令と;
ホスト装置のメモリ部に格納されているプログラム命令のパッチセットと;
ブレークポイント命令をパッチセットで置き換えるための、ホスト内の第2プログラム命令を含む、前記装置。 - 請求項1記載の装置において、第2プログラム命令がパッチセットを含む第1プログラム命令の一部を再実行する、前記装置。
- 請求項2記載の装置において、第1プログラム命令のパッチセット部分を再実行するために、第2プログラム命令がプログラムカウンタをブレークポイント命令の開始アドレスに関連してデクリメントする、前記装置。
- 請求項2記載の装置において、第1プログラム命令が複数の個別ブレークポイント命令を含み、ホストがそれぞれのブレークポイント命令から参照される、対応する複数のパッチセットを含む、前記装置。
- 請求項4記載の装置において、第2プログラム命令が高機能記憶処理装置の状態を、個々のパッチセットを具備した第1プログラム命令の再実行後に予想される状態と比較し、確定的に制御を第1プログラム命令に返す、前記装置。
- 請求項5記載の装置において、制御が第1プログラム命令に返された際に、第2プログラム命令が個別のパッチセットが実行されたことを記録する、前記装置。
- 請求項2記載の装置において、第2プログラム命令が第1プログラム命令の再実行を単一ステップで行う、前記装置。
- コードカバレッジ測定方法であって:
高機能記憶処理装置を用意し;
高機能記憶処理装置で実行可能で、ホスト内に格納されているコードパッチを参照するブレークポイント命令を含むプログラム・コードをホスト装置から提供し;
そのプログラム・コードを高機能記憶処理装置内で実行し;
実行ステップ中にブレークポイント命令を識別し;
ブレークポイント命令をプログラム・コード内のコードパッチで置き換えることを含む、前記方法。 - 請求項8記載の方法において、置き換えステップがコードパッチを含むプログラム・コードの部分を再実行することを含む、前記方法。
- 請求項9記載の方法において、置き換えステップがコードパッチ再実行時のブレークポイント命令の開始アドレスに関連して、プログラムカウンタのデクリメントを含む、前記方法。
- 請求項8記載の方法において、プログラム・コードを提供するステップが、対応する複数のコードパッチを参照する複数の個別ブレークポイント命令を含む、前記方法。
- 請求項9記載の方法が更に高機能記憶処理装置の状態を、コードパッチを具備するプログラム・コード再実行後に予想される状態と比較し、確定的に制御をプログラム・コードに返すことを含む、前記方法。
- 請求項12記載の方法において、比較ステップが、制御がプログラム・コードに返された際にコードパッチが実行されたことを記録することを含む、前記方法。
- 請求項13記載の方法において、比較ステップがプログラム・コードの単一ステップ再実行を含む、前記方法。
- 記憶装置であって:
データ格納動作を制御する高機能記憶処理装置と;
高機能記憶処理装置で実行されるソフトウェアのコードカバレッジを分析するための手段を含む、前記装置。 - 請求項15記載の装置において、コードカバレッジを分析するための手段が、ブレークポイントを高機能記憶処理装置で実行されるプログラム・コード内に格納することを特徴とする、前記装置。
- 請求項16記載の装置において、コードカバレッジを分析するための手段が、コードパッチをホスト装置内に格納することを特徴とする、前記装置。
- 請求項17記載の装置において、コードカバレッジを分析するための手段が、特定ブレークポイントを対応するコードパッチで置き換えることを特徴とする、前記装置。
- 請求項18記載の装置において、コードカバレッジを分析するための手段が、コードパッチを含むプログラム・コードの一部を再実行することを特徴とする、前記装置。
- 請求項19記載の装置において、コードカバレッジを分析するための手段が、プログラム・コードのコードパッチ部分の再実行後に、高機能記憶処理装置の監視された状態に関連して、プログラム・コードの実行を確定的に継続することを特徴とする、前記装置。
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US11/157,199 US20070006166A1 (en) | 2005-06-20 | 2005-06-20 | Code coverage for an embedded processor system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007004793A true JP2007004793A (ja) | 2007-01-11 |
Family
ID=37591369
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006168407A Pending JP2007004793A (ja) | 2005-06-20 | 2006-06-19 | 組込型処理装置システム用コードカバレッジ測定方法及び装置 |
Country Status (2)
Country | Link |
---|---|
US (1) | US20070006166A1 (ja) |
JP (1) | JP2007004793A (ja) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010174891A (ja) * | 2009-01-28 | 2010-08-12 | Dspace Digital Signal Processing & Control Engineering Gmbh | 制御装置を調整する方法および調整ユニット |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8954926B2 (en) | 2012-03-05 | 2015-02-10 | Microsoft Corporation | Code coverage detection with scriptable language unmodified source |
CN104142887B (zh) * | 2013-12-12 | 2016-12-14 | 腾讯科技(深圳)有限公司 | 一种数据挖掘方法和装置 |
US9454467B2 (en) | 2013-12-12 | 2016-09-27 | Tencent Technology (Shenzhen) Company Limited | Method and apparatus for mining test coverage data |
US20160335064A1 (en) * | 2015-05-12 | 2016-11-17 | Advanced Micro Devices, Inc. | Infrastructure to support accelerator computation models for active storage |
US11657068B2 (en) * | 2017-12-15 | 2023-05-23 | International Business Machines Corporation | Efficient migration between asynchronous data replication technologies |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0225939A (ja) * | 1988-07-15 | 1990-01-29 | Hitachi Ltd | テストカバレージ計測ツール |
JPH05324395A (ja) * | 1992-05-07 | 1993-12-07 | Nec Corp | プログラムのデバッグ装置 |
JP2002116926A (ja) * | 2000-10-11 | 2002-04-19 | Nec Corp | プログラム処理装置およびプログラム処理方法 |
JP2002534736A (ja) * | 1999-01-04 | 2002-10-15 | イーエムシー コーポレイション | オンラインでデバッグ及び追跡を行う装置及び方法 |
Family Cites Families (38)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4819234A (en) * | 1987-05-01 | 1989-04-04 | Prime Computer, Inc. | Operating system debugger |
US4910663A (en) * | 1987-07-10 | 1990-03-20 | Tandem Computers Incorporated | System for measuring program execution by replacing an executable instruction with interrupt causing instruction |
JPH02199548A (ja) * | 1988-11-09 | 1990-08-07 | Asea Brown Boveri Ag | 電算機系で作成されるオブジエクト・プログラムの時間経過を観察する方法とこの方法を実行する観測器具 |
US5134701A (en) * | 1989-02-10 | 1992-07-28 | Hewlett-Packard Co. | Test apparatus performing runtime replacement of program instructions with breakpoint instructions for processor having multiple instruction fetch capabilities |
US5301312A (en) * | 1991-08-21 | 1994-04-05 | International Business Machines Corporation | Method and system for utilizing benign fault occurrence to measure interrupt-blocking times |
US6370589B1 (en) * | 1992-10-15 | 2002-04-09 | Siemens Aktiengesellschaft | Process for performing at least one test on at least one of the objects of an object-oriented program capable of running in parallel on a computer |
US5495561A (en) * | 1993-06-21 | 1996-02-27 | Taligent, Inc. | Operating system with object-oriented printing interface |
US5519866A (en) * | 1993-06-28 | 1996-05-21 | Taligent, Inc. | Method and apparatus of incrementally linking components of a modeled computer program |
US5325533A (en) * | 1993-06-28 | 1994-06-28 | Taligent, Inc. | Engineering system for modeling computer programs |
US5758160A (en) * | 1993-06-28 | 1998-05-26 | Object Technology Licensing Corporation | Method and apparatus for building a software program using dependencies derived from software component interfaces |
DE69435090T2 (de) * | 1993-12-01 | 2009-06-10 | Marathon Technologies Corp., Stow | Rechnersystem mit Steuereinheiten und Rechnerelementen |
US5581697A (en) * | 1994-01-28 | 1996-12-03 | Sun Microsystems, Inc. | Method and apparatus for run-time error checking using dynamic patching |
US5675803A (en) * | 1994-01-28 | 1997-10-07 | Sun Microsystems, Inc. | Method and apparatus for a fast debugger fix and continue operation |
US5533192A (en) * | 1994-04-21 | 1996-07-02 | Apple Computer, Inc. | Computer program debugging system and method |
EP0729097A1 (en) * | 1995-02-07 | 1996-08-28 | Sun Microsystems, Inc. | Method and apparatus for run-time memory access checking and memory leak detection of a multi-threaded program |
US5790397A (en) * | 1996-09-17 | 1998-08-04 | Marathon Technologies Corporation | Fault resilient/fault tolerant computing |
US5901225A (en) * | 1996-12-05 | 1999-05-04 | Advanced Micro Devices, Inc. | System and method for performing software patches in embedded systems |
US6263368B1 (en) * | 1997-06-19 | 2001-07-17 | Sun Microsystems, Inc. | Network load balancing for multi-computer server by counting message packets to/from multi-computer server |
US6279123B1 (en) * | 1997-09-15 | 2001-08-21 | Lucent Technologies, Inc. | System for viewing and monitoring embedded processor operation |
US6286114B1 (en) * | 1997-10-27 | 2001-09-04 | Altera Corporation | Enhanced embedded logic analyzer |
US6393490B1 (en) * | 1997-12-18 | 2002-05-21 | Ian James Stiles | Method and system for a programmatic feedback process for end-user support |
US6188975B1 (en) * | 1998-03-31 | 2001-02-13 | Synopsys, Inc. | Programmatic use of software debugging to redirect hardware related operations to a hardware simulator |
US6697773B1 (en) * | 1998-05-19 | 2004-02-24 | Altera Corporation | Using assignment decision diagrams with control nodes for sequential review during behavioral simulation |
US6240376B1 (en) * | 1998-07-24 | 2001-05-29 | Mentor Graphics Corporation | Method and apparatus for gate-level simulation of synthesized register transfer level designs with source-level debugging |
US6480818B1 (en) * | 1998-11-13 | 2002-11-12 | Cray Inc. | Debugging techniques in a multithreaded environment |
US6571359B1 (en) * | 1999-12-13 | 2003-05-27 | Intel Corporation | Systems and methods for testing processors |
US6557116B1 (en) * | 1999-02-19 | 2003-04-29 | Texas Instruments Incorporated | Emulation suspension mode with frame controlled resource access |
WO2000063893A1 (en) * | 1999-04-21 | 2000-10-26 | Seagate Technology Llc | Servo processor code evaluation using a virtual disc drive |
US6681384B1 (en) * | 1999-12-23 | 2004-01-20 | International Business Machines Corporation | Multi-threaded break-point |
US6883168B1 (en) * | 2000-06-21 | 2005-04-19 | Microsoft Corporation | Methods, systems, architectures and data structures for delivering software via a network |
US6874143B1 (en) * | 2000-06-21 | 2005-03-29 | Microsoft Corporation | Architectures for and methods of providing network-based software extensions |
US6708326B1 (en) * | 2000-11-10 | 2004-03-16 | International Business Machines Corporation | Method, system and program product comprising breakpoint handling mechanism for debugging and/or monitoring a computer instruction sequence |
US20020194540A1 (en) * | 2001-05-04 | 2002-12-19 | Hugo Cheung | Method and system for non-intrusive dynamic memory mapping |
US6862694B1 (en) * | 2001-10-05 | 2005-03-01 | Hewlett-Packard Development Company, L.P. | System and method for setting and executing breakpoints |
US7028129B2 (en) * | 2001-12-28 | 2006-04-11 | Intel Corporation | Method and apparatus for converting an external memory access into a local memory access in a processor core |
US6901581B1 (en) * | 2002-10-02 | 2005-05-31 | Eridon Corporation | Method for software debugging via simulated re-execution of a computer program |
US7124237B2 (en) * | 2002-10-03 | 2006-10-17 | Seagate Technology Llc | Virtual machine emulation in the memory space of a programmable processor |
US7647586B2 (en) * | 2004-08-13 | 2010-01-12 | Sun Microsystems, Inc. | System and method for providing exceptional flow control in protected code through watchpoints |
-
2005
- 2005-06-20 US US11/157,199 patent/US20070006166A1/en not_active Abandoned
-
2006
- 2006-06-19 JP JP2006168407A patent/JP2007004793A/ja active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0225939A (ja) * | 1988-07-15 | 1990-01-29 | Hitachi Ltd | テストカバレージ計測ツール |
JPH05324395A (ja) * | 1992-05-07 | 1993-12-07 | Nec Corp | プログラムのデバッグ装置 |
JP2002534736A (ja) * | 1999-01-04 | 2002-10-15 | イーエムシー コーポレイション | オンラインでデバッグ及び追跡を行う装置及び方法 |
JP2002116926A (ja) * | 2000-10-11 | 2002-04-19 | Nec Corp | プログラム処理装置およびプログラム処理方法 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010174891A (ja) * | 2009-01-28 | 2010-08-12 | Dspace Digital Signal Processing & Control Engineering Gmbh | 制御装置を調整する方法および調整ユニット |
JP2010173633A (ja) * | 2009-01-28 | 2010-08-12 | Dspace Digital Signal Processing & Control Engineering Gmbh | 制御装置を調整するための方法および操作ユニット |
Also Published As
Publication number | Publication date |
---|---|
US20070006166A1 (en) | 2007-01-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8498967B1 (en) | Two-node high availability cluster storage solution using an intelligent initiator to avoid split brain syndrome | |
US7111084B2 (en) | Data storage network with host transparent failover controlled by host bus adapter | |
US8566635B2 (en) | Methods and systems for improved storage replication management and service continuance in a computing enterprise | |
US8839032B2 (en) | Managing errors in a data processing system | |
JP5160085B2 (ja) | ストレージ・デバイスの障害を予測するための装置、システム、および方法 | |
US8473779B2 (en) | Systems and methods for error correction and detection, isolation, and recovery of faults in a fail-in-place storage array | |
US8495413B2 (en) | System and method for providing a computer standby node | |
US7137020B2 (en) | Method and apparatus for disabling defective components in a computer system | |
US20060259815A1 (en) | Systems and methods for ensuring high availability | |
US10467075B1 (en) | Systems, devices and methods for predicting disk failure and minimizing data loss | |
JP5296878B2 (ja) | 1つまたは複数の交換ユニットのテストを管理するために1つまたは複数の交換可能ユニットを含むコンピュータ化ストレージ・システムで使用するための方法、装置、およびプログラム(交換ユニットのテストを管理するために交換可能ユニットを含むコンピュータ化ストレージ・システム) | |
EP1810143A2 (en) | System and method for network performance monitoring and predictive failure analysis | |
CN109189627B (zh) | 一种硬盘故障监控检测方法、装置、终端及存储介质 | |
JP2007004793A (ja) | 組込型処理装置システム用コードカバレッジ測定方法及び装置 | |
US20130132766A1 (en) | Method and apparatus for failover and recovery in storage cluster solutions using embedded storage controller | |
TW202134881A (zh) | 用以進行全快閃記憶體陣列伺服器的碟管理的方法與設備 | |
US7003617B2 (en) | System and method for managing target resets | |
CN109783280A (zh) | 共享存储系统和共享存储方法 | |
US20050044207A1 (en) | Service processor-based system discovery and configuration | |
US7996707B2 (en) | Method to recover from ungrouped logical path failures | |
WO2011051999A1 (ja) | 情報処理装置及び情報処理装置の制御方法 | |
JP2011076344A (ja) | 情報処理装置,情報処理装置の制御方法および制御プログラム | |
US7392420B2 (en) | Automated error recovery of a licensed internal code update on a storage controller | |
US7533297B2 (en) | Fault isolation in a microcontroller based computer | |
US20140250319A1 (en) | System and method for providing a computer standby node |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090619 |
|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20100526 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20111115 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20111122 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20120508 |