# HG changeset patch # User Michael Van De Vanter # Date 1442895689 25200 # Node ID e110ab9f91fef5d15cb2cd356167b380c266fc8e # Parent 959f658b918dc70930a005cca47fa812d0ffa6a9 Truffle/Instrumentation: package-info for com.oracle.truffle.api.instrument diff -r 959f658b918d -r e110ab9f91fe truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/instrument/package-info.java --- a/truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/instrument/package-info.java Mon Sep 21 17:03:27 2015 -0700 +++ b/truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/instrument/package-info.java Mon Sep 21 21:21:29 2015 -0700 @@ -24,7 +24,175 @@ */ /** - * Advanced node manipulation instruments. + *

The Truffle Instrumentation Framework

+ *

+ * This framework permits client + * {@linkplain com.oracle.truffle.api.iknstrument.Instrumenter.Tool tools}, + * either builtin or third-party, to observe with very low overhead the execution of a + * {@linkplain com.oracle.truffle.api.TruffleLanguage Truffle Language} program at the level of + * AST execution events: + *

+ * The framework supports many kinds of tools, for example simple collectors of data such as + * {@linkplain com.oracle.truffle.tools.CoverageTracker code coverage}. + * It also supports Truffle's built-in + * {@linkplain com.oracle.truffle.api.debug.Debugger debugging services}, as well as utilities + * that maintain {@linkplain com.oracle.truffle.tools.LineToProbesMap maps of source code locations} + * for other tools such as {@linkplain com.oracle.truffle.api.debug.Debugger debugging}. + * + *

Instrumentation Services

+ *

+ * API access to instrumentation services is provided by the + * {@linkplain com.oracle.truffle.api.instrument.Instrumenter Instrumenter} that is part of + * the Truffle execution environment. These services fall into several categories: + * + *

+ * */ package com.oracle.truffle.api.instrument;