Providers for Various Shells
An effort has been begun to make available DTrace providers for various shells. This page is to document these efforts and provide code diffs, tarballs and/or any other documentation.
As more providers are begun, they will be listed here.
Please see this link for why we did /bin/sh first, rather then barraging Alan and Brendan with Email.
Bourne Shell
Owner: alanh (Alan Hargreaves)
Status: alpha
I've just uploaded a SPARC binary and made some major changes (see below). The code is still experimental, be careful replacing /usr/bin/sh with this, you might want to place it in a different directory for experimentation.
There were originally some problems applying the diffs with gpatch, Let me know if you have any. If all else fails I can make a tarball of the modified files available.
| File | Description | Last Modified |
|---|---|---|
| sh.html | Provider Documentation | 18:45 Aug 14, 2007 US/Pacific |
| sh-20070820.diffs.txt | diff -u of the source code changes required | 01:23 Aug 20, 2007 US/Pacific |
| sh.x86.gz | x86 executable built agains (approx) nv build 70 | 01:23 Aug 20, 2007 US/Pacific |
| sh.sparc.gz | x86 executable built against (approx) nv build 70 | 01:23 Aug 20, 2007 US/Pacific |
Notes
Aug 20
Fixed command-entry to only fire in the parent shell.
Aug 14
There were two major changes to the provider:
- exec has been renamed to command.
- script-begin and script-end have become script-start and script-done respectively.
These changes are reflected in the documentation.
Other information currently available at Alan's Blog with some examples by bgregg (Brendan Gregg)
zsh
Owner: boyd (Boyd Adamson)
Status: Getting started