Package daikon.tools
Class DtraceNonceFixer
- Object
-
- DtraceNonceFixer
-
public class DtraceNonceFixer extends Object
This tool fixes a Dtrace file whose invocation nonces became inaccurate as a result of acatcommand combining multiple dtrace files. It renumbers the nonces of each concatenated file after the first so that they do not collide with nonces of earlier files, and it gives a nonce to each sample that lacks one. An EXIT or THROWS sample gets the same nonce as its ENTER sample, which is the most recent unmatched ENTER sample for the same method (as Daikon pairs samples without nonces).
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(String[] args)static voidmainHelper(String[] args)This does the work ofmain(String[]), but it never calls System.exit, so it is appropriate to be called programmatically.
-
-
-
Method Detail
-
mainHelper
public static void mainHelper(String[] args)
This does the work ofmain(String[]), but it never calls System.exit, so it is appropriate to be called programmatically.- Parameters:
args- command-line arguments: a dtrace file and an optional output file, or-hor--help
-
-