arrow
返回

Hierarchical Program Paths

delete2016-08-22
delete6
PRE
AI
W
W. K. Chan *
DOI:10.1145/2963094delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
Complete dynamic control flow is a fundamental kind of execution profile about program executions with a wide range of applications. Tracing the dynamic control flow of program executions for a brief period easily generates a trace consisting of billions of control flow events. The number of events in such a trace is large, making both path tracing and path querying to incur significant slowdowns. A major class of path tracing techniques is to design novel trace representations that can be generated efficiently, and encode the inputted sequences of such events so that the inputted sequences are still derivable from the encoded and smaller representations. The control flow semantics in such representations have, however, become obscure, which makes implementing path queries on such a representation inefficient and the design of such queries complicated. We propose a novel two-phase path tracing framework-Hierarchical Program Path (HPP)-to model the complete dynamic control flow of an arbitrary number of executions of a program. In Phase 1, HPP monitors each execution, and efficiently generates a stream of events, namely HPPTree, representing a novel tree-based representation of control flow for each thread of control in the execution. In Phase 2, given a set of such event streams, HPP identifies all the equivalent instances of the same exercised interprocedural path in all the corresponding HPPTree instances, and represents each such equivalent set of paths with a single subgraph, resulting in our compositional graph-based trace representation, namely, HPPDAG. Thus, an HPPDAG instance has the potential to be significantly smaller in size than the corresponding HPPTree instances, and still completely preserves the control flow semantics of the traced executions. Control flow queries over all the traced executions can also be directly performed on the single HPPDAG instance instead of separately processing the trace representation of each execution followed by aggregating their results. We validate HPP using the SPLASH2 and SPECint 2006 benchmarks. Compared to the existing technique, named BLPT (Ball-Larus-based Path Tracing), HPP generates significantly smaller trace representations and incurs fewer slowdowns to the native executions in online tracing of Phase 1. The HPPDAG instances generated in Phase 2 are significantly smaller than their corresponding BLPT and HPPTree traces. We show that HPPDAG supports efficient backtrace querying, which is a representative path query based on complete control flow trace. Finally, we illustrate the ease of use of HPPDAG by building a novel and highly efficient path profiling technique to demonstrate the applicability of HPPDAG.
Keyword:
Path tracing
interprocedural path
hierarchical and compositional representation
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

A
ACM Transactions on Software Engineering and Methodology
IF:
6.2
论文数:
1.3K
被引数:
3.7K

机构

C
City University of Hong Kong
学者数:
2.6K
论文数: 1.2K
被引数: 0
引用论文

引用论文

Contemporary review of testicular torsion: New concepts, emerging technologies and potential therapeutics
err2013-12-01
err0
errOAAI
errDaniel G. DaJusta; Candace F. Granberg; Carlos Villanueva; Linda A. Baker
err分享
err收藏
Changes in Prognostic and Therapeutic Parameters in Prostate Cancer from an Epidemiological View over 20 Years
err2015-01-26
err0
errOAAI
errMartin Dörr; Dieter Hölzel; Gabriele Schubert-Fritschle; Jutta Engel; Anne Schlesinger-Raab
err分享
err收藏
err分享
err收藏
Organização dos serviços farmacêuticos no Sistema Único de Saúde em regiões de saúde
err2017-04-01
err0
errOAAI
errSuetônio Queiroz Araújo; Karen Sarmento Costa; Vera Lucia Luiza; Carmen Lavras; Eucilene Alves Santana; Noemia Urruth Leão Tavares
err分享
err收藏
Can Listening to Music Decrease Pain, Anxiety, and Stress During a Urodynamic Study? A Randomized Prospective Trial Focusing on Gender Differences
err2017-06-01
err0
PREAI
errJi Sung Shim; Ji Yun Chae; Sung Gu Kang; Jae Young Park; Jae Hyun Bae; Seok Ho Kang; Hong Seok Park; Du Geon Moon; Jun Cheon; Jeong Gu Lee; Je Jong Kim; Mi Mi Oh
err分享
err收藏
Liquid Immiscibility and Problems of Ore Genesis: Experimental Data
err2019-09-17
err0
PREAI
errYu. B. Shapovalov; A. R. Kotelnikov; N. I. Suk; V. S. Korzhinskaya; Z. A. Kotelnikova
err分享
err收藏
学者 查看更多内容