[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
article

The design and evaluation of path matching schemes on compressed control flow traces

Published: 01 March 2007 Publication History

Abstract

A control flow trace captures the complete sequence of dynamically executed basic blocks and function calls. It is usually of very large size and therefore commonly stored in compressed format. On the other hand, control flow traces are frequently queried to assist program analysis and optimization, e.g. finding frequently executed subpaths that may be optimized. In this paper, we identify path interruption and path context problems in querying an intraprocedural path over control flow traces. While algorithms that perform pattern matching on compressed strings have been proposed, solving new challenges requires the extension of traditional algorithms. We design and evaluate four path matching schemes including those that match in the compressed data directly and those that match after decompression. In addition, simple indices are also designed to improve matching performance. Our experimental results show that these schemes are practical and can be adapted to environments with different hardware settings and path matching requests.

References

[1]
Amir, A., Benson, G., 1992. Efficient two-dimensional compressed matching. In: Proceedings of Data Compression Conference, Snowbird UT, pp. 279-288.]]
[2]
Amir, A., Benson, G., Farach, M., 1996. Let sleeping files lie: pattern matching in Z-compressed files. In: Proceedings of the fifth ACM-SIAM symposium on Discrete Algorithm, pp. 705-714.]]
[3]
Ball, T., Larus, J., 1996. Efficient path profiling. In: Proceedings of 29th IEEE/ACM International Symposium on Microarchitecture, pp.46-57.]]
[4]
A fast string searching algorithm. Communication of ACM. v20 i10. 762-772.]]
[5]
String matching in Lempel-Ziv compressed strings. Algorithmica. v20 i4. 388-404.]]
[6]
A unifying framework for compressed pattern matching. In: Proceedings of 6th International Symposium on String Processing and Information Retrieval, IEEE Computer Society. pp. 89-96.]]
[7]
Fast pattern matching in strings. SIAM Journal on Computing. v6 i1. 323-350.]]
[8]
Larus, J., 1999. Whole program paths. In: Proceedings of ACM SIGPLAN Conference on Programming Language Design and Implementation, pp.259-269.]]
[9]
Mitarai, S., Hirao, M., Matsumoto, T., Shinohara, A., Takeda, M., Arikawa, S., 2001. Compressed pattern matching for SEQUITUR. In: Proceedings of Data Compression Conference.]]
[10]
Navarro, G., Raffinot, M., 1999. A general practical approach to pattern matching over Ziv-Lempel compressed text. In: Proceedings of CPM, LNCS 1645, pp.14-36.]]
[11]
Navarro, G., Kida, T., Takeda, M., Shinohara, A., Arikawa, S., 2001. Faster approximate string matching over compressed text. In: Proceedings of Data Compression Conference, pp. 459-467.]]
[12]
Identifying hierarchical structure in sequences: a linear-time algorithm. Journal of Artificial Intelligence Research. v7. 67-82.]]
[13]
SPEC. Available from: <http://www.spec.org/osg/cpu2k/>.]]
[14]
Trimaran Compiler Infrastructure. Available from: <http://www.trimaran.org/>.]]
[15]
Zhang, Y., Gupta, R., 2001. Timestamped whole program path representation and its applications. In: Proceedings of ACM SIGPLAN Conference on Programming Language Design and Implementation, pp. 180-190.]]
[16]
An inexact model matching approach and its applications. Journal of Systems and Software. v67 i3. 201-212.]]
[17]
A universal algorithm for sequential data compression. IEEE Transactions on Information Theory. v23 i3. 337-343.]]
[18]
Compression of individual sequences via variable length coding. IEEE Transactions on Information Theory. v24 i5. 530-536.]]

Cited By

View all
  • (2016)Hierarchical Program PathsACM Transactions on Software Engineering and Methodology10.1145/296309425:3(1-44)Online publication date: 22-Aug-2016

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image Journal of Systems and Software
Journal of Systems and Software  Volume 80, Issue 3
March, 2007
155 pages

Publisher

Elsevier Science Inc.

United States

Publication History

Published: 01 March 2007

Author Tags

  1. Control flow trace
  2. Path matching
  3. Sequitur compression

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 17 Dec 2024

Other Metrics

Citations

Cited By

View all
  • (2016)Hierarchical Program PathsACM Transactions on Software Engineering and Methodology10.1145/296309425:3(1-44)Online publication date: 22-Aug-2016

View Options

View options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media