🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.archives
Article #287

[comp.compilers] New TR: Rewriting Executable Files to Measure Program Behavior

#287
From: James Larus
Date: Fri, 17 Apr 1992 10:48
34 lines
2309 bytes
Archive-name: auto/comp.compilers/New-TR-Rewriting-Executable-Files-to-Measure-Program-Behavior

A postscript copy of the following technical report is available for
anonymous ftp from primost.cs.wisc.edu in the file pub/rewriting-tr.ps.Z


	Rewriting Executable Files to Measure Program Behavior

		    James R. Larus and Thomas Ball
		     Computer Sciences Department
		       1210 West Dayton Street
		       University of Wisconsin
			  Madison, WI 53706

	      University of Wisconsin Computer Sciences
			Technical Report 1083

Inserting instrumentation code in a program is an effective technique for
measuring many aspects of program performance.  The instrumentation code
can be added at any stage of the compilation process by system tools such
as the compiler or linker or by external tools that are part of a
measurement system.  For a variety of reasons, adding this code after the
compilation process---by rewriting the executable file---is simpler and
more generally useful than adding it earlier.

This paper describes the problems that arose in writing the tools QP and
QPT, which add profiling and tracing code to programs on the MIPS and
SPARC processors. Many of these problems could have been avoided with
minor changes to compilers and executable files' symbol tables.  These
changes would simplify this technique for measuring program performance
and make it more generally useful.
-- 
Send compilers articles to compilers@iecc.cambridge.ma.us or
{ima | spdcc | world}!iecc!compilers.  Meta-mail to compilers-request.
Technical Details
Message-ID: <smadnINNdsj@agate.berkeley.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!spool.mu.edu!agate!cs.wisc.edu!larus
References: <92-04-052@comp.compilers>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!spool.mu.edu!agate!cs.wisc.edu!larus
From: larus@cs.wisc.edu (James Larus)
Newsgroups: comp.archives
Subject: [comp.compilers] New TR: Rewriting Executable Files to Measure Program Behavior
Message-ID: <smadnINNdsj@agate.berkeley.edu>
Date: 17 Apr 92 10:48:23 GMT
Article-I.D.: agate.smadnINNdsj
References: <92-04-052@comp.compilers>
Reply-To: larus@cs.wisc.edu (James Larus)
Followup-To: comp.compilers
Organization: University of Wisconsin, Madison -- Computer Sciences Dept.
Lines: 34
Approved: adam@soda.berkeley.edu
NNTP-Posting-Host: soda.berkeley.edu
X-Original-Newsgroups: comp.compilers,comp.sys.mips,comp.sys.sun,comp.doc.techreports
X-Original-Date: 13 Apr 92 13:14:10 GMT