summaryrefslogtreecommitdiffstats
path: root/cddl/contrib/dtracetoolkit/JavaScript/Readme
diff options
context:
space:
mode:
authorgnn <gnn@FreeBSD.org>2016-05-19 19:51:39 +0000
committergnn <gnn@FreeBSD.org>2016-05-19 19:51:39 +0000
commitf6dffc405c7096f010b1b300da305496e6eccfbf (patch)
treed8ae9764a9fe69885151446bd98bb00d10a96f32 /cddl/contrib/dtracetoolkit/JavaScript/Readme
parent6dc0fa9057a5a2eda45ab244907043956d7cbead (diff)
downloadFreeBSD-src-f6dffc405c7096f010b1b300da305496e6eccfbf.zip
FreeBSD-src-f6dffc405c7096f010b1b300da305496e6eccfbf.tar.gz
Remove the old version of the DTraceToolkit from the source tree.
The DTraceToolkit is part of the Open DTrace effort and is supported on FreeBSD as a port (sysutils/DTraceToolkit) which has been updated to properly track toolkit development upstream. Sponsored by: DARPA, AFRL
Diffstat (limited to 'cddl/contrib/dtracetoolkit/JavaScript/Readme')
-rw-r--r--cddl/contrib/dtracetoolkit/JavaScript/Readme54
1 files changed, 0 insertions, 54 deletions
diff --git a/cddl/contrib/dtracetoolkit/JavaScript/Readme b/cddl/contrib/dtracetoolkit/JavaScript/Readme
deleted file mode 100644
index a9bebf8..0000000
--- a/cddl/contrib/dtracetoolkit/JavaScript/Readme
+++ /dev/null
@@ -1,54 +0,0 @@
-JavaScript - DTracing JavaScript
-
- There scripts trace the JavaScript programming language, and require a
- browser to be built with the DTrace JavaScript provider.
-
- The DTrace JavaScript provider was originally written by Brendan Gregg,
- and later developed as part of a Mozilla DTrace provider suite by
- engineers from both Sun and Mozilla. It currently exists as patches
- to the Mozilla source tree and requires building from source to get
- working; it may be integrated into Solaris builds by default in the
- future. To download the current patches and instructions, visit,
-
- http://www.opensolaris.org/os/project/mozilla-dtrace/
-
- A rough guide for the process is,
-
- 1. Download the Mozilla source
- http://developer.mozilla.org/en/docs/Mozilla_Source_Code_Via_CVS
- 2. Download the Mozilla DTrace framework patch, and apply
- https://bugzilla.mozilla.org/show_bug.cgi?id=370906
- 3. Download the JavaScript DTrace provider patch, and apply
- https://bugzilla.mozilla.org/show_bug.cgi?id=388564
- 4. Create a .mozconfig file (needed for compilation).
- 5. Setup various compilation environment vars (CC/CFLAGS/CXX/...)
- 6. autoconf
- 7. ./configure --enable-dtrace
- 8. gmake
-
- See John Rice's instructions linked from the OpenSolaris page above
- for details on steps 4-8.
-
- Since the DTrace JavaScript provider may be developed further, there is a
- chance that it has changed slightly by the time you are reading this,
- causing these scripts to either break or behave oddly. Firstly, check for
- newer versions of the DTraceToolkit; if it hasn't been updated and you need
- to use these scripts immediately, then updating them shouldn't take
- too long. The following was the state of the provider when these scripts
- were written - check for changes and update the scripts accordingly,
-
- provider javascript {
- probe function-entry(file, class, func)
- probe function-info(file, class, func, lineno, runfile, runlineno)
- probe function-args(file, class, func, argc, argv, argv0, argv1,
- argv2, argv3, argv4)
- probe function-rval(file, class, func, lineno, rval, rval0)
- probe function-return(file, class, func)
- probe object-create-start(file, class)
- probe object-create(file, class, *object, rlineno)
- probe object-create-done(file, class)
- probe object-finalize(NULL, class, *object)
- probe execute-start(file, lineno)
- probe execute-done(file, lineno)
- };
-
OpenPOWER on IntegriCloud