JP6540340B2 - 関数呼び出し情報収集方法及び関数呼び出し情報収集プログラム - Google Patents
関数呼び出し情報収集方法及び関数呼び出し情報収集プログラム Download PDFInfo
- Publication number
- JP6540340B2 JP6540340B2 JP2015152834A JP2015152834A JP6540340B2 JP 6540340 B2 JP6540340 B2 JP 6540340B2 JP 2015152834 A JP2015152834 A JP 2015152834A JP 2015152834 A JP2015152834 A JP 2015152834A JP 6540340 B2 JP6540340 B2 JP 6540340B2
- Authority
- JP
- Japan
- Prior art keywords
- call information
- function
- compressed
- program
- information
- 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.)
- Active
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/3604—Software analysis for verifying properties of programs
- G06F11/3612—Software analysis for verifying properties of programs by runtime analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3466—Performance evaluation by tracing or monitoring
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/302—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/3024—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a central processing unit [CPU]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3065—Monitoring arrangements determined by the means or processing involved in reporting the monitored data
- G06F11/3072—Monitoring arrangements determined by the means or processing involved in reporting the monitored data where the reporting involves data filtering, e.g. pattern matching, time or event triggered, adaptive or policy-based reporting
- G06F11/3082—Monitoring arrangements determined by the means or processing involved in reporting the monitored data where the reporting involves data filtering, e.g. pattern matching, time or event triggered, adaptive or policy-based reporting the data filtering being achieved by aggregating or compressing the monitored data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3466—Performance evaluation by tracing or monitoring
- G06F11/348—Circuit details, i.e. tracer hardware
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2201/00—Indexing scheme relating to error detection, to error correction, and to monitoring
- G06F2201/865—Monitoring of software
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2201/00—Indexing scheme relating to error detection, to error correction, and to monitoring
- G06F2201/88—Monitoring involving counting
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Software Systems (AREA)
- Debugging And Monitoring (AREA)
Description
2 サンプリングプログラム
3 サンプリングデータ記憶部
4 分析プログラム
5 集計結果記憶部
21 unwind_stackプログラム
22 性能収集用割込みプログラム
41 サンプリング形式判別部
42 ハッシュ部
43 呼び出し関係復元部
43a 逆ハッシュ表
44 呼び出し関係別集計部
60 コンピュータ
61 メモリ
61a スタック
61b ヒープ
61c バイナリコード
62 CPU
62a PMU
63 HDD
64 LANインタフェース
65 入出力インタフェース
66 DVDドライブ
71 性能収集対象コード
71a unwind_stackコード
72 ハッシュ関数コード
73 性能収集用割込みコード
74 サンプリングバッファ
80 レジスタセット
81 命令ポインタ
82 スタックポインタ
83 ベースポインタ
84 汎用レジスタ
85 呼び出し関係格納専用レジスタ
91 戻り命令アドレス
92 直前のベースポインタの値
93 myfunc用スタックフレーム
Claims (2)
- コンピュータが、
関数が実行される際に、該関数の呼び出し情報を収集し、
収集した呼び出し情報を非可逆圧縮するか否かを選択し、
非可逆圧縮を選択した場合には、前記呼び出し情報を非可逆圧縮してサンプリングデータとして記憶部に格納し、非可逆圧縮を選択しなかった場合には、前記呼び出し情報を圧縮することなく、又は、可逆圧縮して前記記憶部にサンプリングデータとして格納し、
前記記憶部に格納したサンプリングデータを読み出し、該読み出したサンプリングデータに含まれる圧縮されなかった呼び出し情報又は可逆圧縮された呼び出し情報を用いて、非可逆圧縮された呼び出し情報と、圧縮されなかった呼び出し情報又は可逆圧縮された呼び出し情報とを対応付けた逆圧縮表を作成し、
非可逆圧縮された呼び出し情報から元の呼び出し情報を前記逆圧縮表に基づいて復元し、
圧縮されなかった呼び出し情報又は可逆圧縮された呼び出し情報と復元された呼び出し情報に基づいて関数の呼び出し関係を集計する
処理を実行することを特徴とする関数呼び出し情報収集方法。 - コンピュータに、
関数が実行される際に、該関数の呼び出し情報を収集し、
収集した呼び出し情報を非可逆圧縮するか否かを選択し、
非可逆圧縮を選択した場合には、前記呼び出し情報を非可逆圧縮してサンプリングデータとして記憶部に格納し、非可逆圧縮を選択しなかった場合には、前記呼び出し情報を圧縮することなく、又は、可逆圧縮して前記記憶部にサンプリングデータとして格納し、
前記記憶部に格納したサンプリングデータを読み出し、該読み出したサンプリングデータに含まれる圧縮されなかった呼び出し情報又は可逆圧縮された呼び出し情報を用いて、非可逆圧縮された呼び出し情報と、圧縮されなかった呼び出し情報又は可逆圧縮された呼び出し情報とを対応付けた逆圧縮表を作成し、
非可逆圧縮された呼び出し情報から元の呼び出し情報を前記逆圧縮表に基づいて復元し、
圧縮されなかった呼び出し情報又は可逆圧縮された呼び出し情報と復元された呼び出し情報に基づいて関数の呼び出し関係を集計する
処理を実行させることを特徴とする関数呼び出し情報収集プログラム。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015152834A JP6540340B2 (ja) | 2015-07-31 | 2015-07-31 | 関数呼び出し情報収集方法及び関数呼び出し情報収集プログラム |
US15/168,282 US9858170B2 (en) | 2015-07-31 | 2016-05-31 | Function-calling-information collection method and computer-readable recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015152834A JP6540340B2 (ja) | 2015-07-31 | 2015-07-31 | 関数呼び出し情報収集方法及び関数呼び出し情報収集プログラム |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2017033303A JP2017033303A (ja) | 2017-02-09 |
JP6540340B2 true JP6540340B2 (ja) | 2019-07-10 |
Family
ID=57885981
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015152834A Active JP6540340B2 (ja) | 2015-07-31 | 2015-07-31 | 関数呼び出し情報収集方法及び関数呼び出し情報収集プログラム |
Country Status (2)
Country | Link |
---|---|
US (1) | US9858170B2 (ja) |
JP (1) | JP6540340B2 (ja) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6693308B2 (ja) * | 2016-07-05 | 2020-05-13 | 富士通株式会社 | 負荷推定プログラム、負荷推定方法及び負荷推定装置 |
US10761965B2 (en) * | 2018-09-28 | 2020-09-01 | Atlassian Pty Ltd. | Detecting method calls based on stack trace data |
US11892936B2 (en) * | 2022-04-11 | 2024-02-06 | Microsoft Tech nology Licensing, LLC | Profiling a program based on a combination of dynamic instrumentation and sampling |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3199013B2 (ja) * | 1998-01-26 | 2001-08-13 | 日本電気株式会社 | 言語処理方法及び言語処理装置並びに言語処理プログラムを記録した記憶媒体 |
JP4330429B2 (ja) | 2003-11-05 | 2009-09-16 | 株式会社日立製作所 | プロファイル情報の取得装置及び方法 |
JP2006202134A (ja) | 2005-01-21 | 2006-08-03 | Nec Micro Systems Ltd | プロファイル情報収集方法および装置 |
US7734768B2 (en) * | 2005-07-26 | 2010-06-08 | International Business Machines Corporation | System and method for adaptively collecting performance and event information |
JP2007259274A (ja) * | 2006-03-24 | 2007-10-04 | Sony Corp | 再送制御回路、送信装置、再送制御方法及び再送制御プログラム |
JP2008021066A (ja) * | 2006-07-12 | 2008-01-31 | Kyocera Mita Corp | 画像形成装置用トレース機能付加方法及びプログラム並びにこのプログラムがインストールされた画像形成装置 |
US9264478B2 (en) * | 2012-10-30 | 2016-02-16 | Microsoft Technology Licensing, Llc | Home cloud with virtualized input and output roaming over network |
EP2770642B1 (en) * | 2013-02-26 | 2022-10-05 | Tata Consultancy Services Limited | Systems and methods for data archival |
US9417988B2 (en) * | 2013-02-26 | 2016-08-16 | Red Hat, Inc. | Tracking subclasses of and operations performed by generic objects in a computer system |
US9491490B1 (en) * | 2015-06-12 | 2016-11-08 | Intel Corporation | Facilitating environment-based lossy compression of data for efficient rendering of contents at computing devices |
-
2015
- 2015-07-31 JP JP2015152834A patent/JP6540340B2/ja active Active
-
2016
- 2016-05-31 US US15/168,282 patent/US9858170B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
US9858170B2 (en) | 2018-01-02 |
JP2017033303A (ja) | 2017-02-09 |
US20170031738A1 (en) | 2017-02-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8510721B2 (en) | Dynamic calculation of sample profile reports | |
JP6540340B2 (ja) | 関数呼び出し情報収集方法及び関数呼び出し情報収集プログラム | |
JP2002529849A (ja) | データ処理リソースを供給された内蔵システムにおいて実行可能な中間オブジェクトコードプログラムのためのデータ圧縮方法、および、この方法に対応しかつマルチアプリケーションを備えた内蔵システム | |
CN106844607B (zh) | 一种适用于非整型主键与空闲块合并的SQLite数据恢复方法 | |
CN110995273B (zh) | 电力数据库的数据压缩方法、装置、设备及介质 | |
US20200294629A1 (en) | Gene sequencing data compression method and decompression method, system and computer-readable medium | |
US11675768B2 (en) | Compression/decompression using index correlating uncompressed/compressed content | |
CN112463784A (zh) | 数据去重方法、装置、设备及计算机可读存储介质 | |
US10303655B1 (en) | Storage array compression based on the structure of the data being compressed | |
CN107169057B (zh) | 一种重复图片的检测方法和装置 | |
CN112328298A (zh) | 移动端的代码库裁剪方法及装置 | |
van den Bos et al. | Domain-specific optimization in digital forensics | |
JP6931442B2 (ja) | 符号化プログラム、インデックス生成プログラム、検索プログラム、符号化装置、インデックス生成装置、検索装置、符号化方法、インデックス生成方法および検索方法 | |
CN113495901B (zh) | 一种面向可变长数据块的快速检索方法 | |
US8988258B2 (en) | Hardware compression using common portions of data | |
JP2010257330A (ja) | ログファイル管理システム、ログファイル管理方法及びプログラム | |
US10318483B2 (en) | Control method and control device | |
CN109271463B (zh) | 一种恢复MySQL数据库的innodb压缩数据的方法 | |
CN111078753A (zh) | 基于HBase数据库的时序数据的存储方法及装置 | |
JP2002333998A (ja) | 仮想マシン内部情報取得システム | |
JPWO2020065778A1 (ja) | 情報処理装置、制御方法、及びプログラム | |
JP3191857B2 (ja) | シミュレーション実行装置及びそのデータ圧縮方法 | |
CN117194355B (zh) | 基于数据库的数据处理方法、装置和电子设备 | |
CN110019053B (zh) | 一种Unity3D资源包冗余数据检测方法及终端 | |
KR102139578B1 (ko) | 디스크 블록 패턴 분석을 통한 데이터베이스 파일 복구 방법 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20180413 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20181228 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20190205 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20190401 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20190514 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20190527 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6540340 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |