[New-bugs-announce] [issue4111] Add DTrace probes

Brett Hoerner report at bugs.python.org
Sun Oct 12 18:08:15 CEST 2008

New submission from Brett Hoerner <bretthoerner at gmail.com>:

It would be great if the main Python distribution supported DTrace on
(Open)Solaris / FreeBSD / OS X.

I've attached a patch against 2.6 that instruments function calls.  It's
from the ed scripts included in Apple's Python distribution:
http://developer.apple.com/opensource/index.html (PSF License)

It is imperfect because I wasn't sure how to do the equivalent of IFDEF
in the Makefile.pre.in, as you can see this patch will make ceval.o
depend on pydtrace.h, which depends on having a local `dtrace` command.
 The rest of the patch properly uses IFDEFs.

components: Build, Installation
files: python-2.6-dtrace.diff
keywords: patch
messages: 74670
nosy: bretthoerner
severity: normal
status: open
title: Add DTrace probes
type: feature request
versions: Python 2.6
Added file: http://bugs.python.org/file11772/python-2.6-dtrace.diff

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list