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.

FileDescriptionLast Modified
sh.htmlProvider Documentation18:45 Aug 14, 2007 US/Pacific
sh-20070820.diffs.txtdiff -u of the source code changes required01:23 Aug 20, 2007 US/Pacific
sh.x86.gzx86 executable built agains (approx) nv build 7001:23 Aug 20, 2007 US/Pacific
sh.sparc.gzx86 executable built against (approx) nv build 7001: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:

  1. exec has been renamed to command.
  2. 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

last modified by alta on 2009/10/29 00:48
Collectives
Project


© Sun Microsystems Inc. 2009
XWiki Enterprise 1.8.2.19075 - Documentation
Terms Of Use | Privacy | Trademarks | Copyright Policy | Site Guidelines | Site map | Help
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.