# DTrace RFC

- Thread: https://externals.io/message/47597
- Original archive: https://news-web.php.net/php.internals/47597
- Started by David Soria Parra on 2010-03-25T10:24:48+00:00
- Messages: 6
- RFC: DTrace Probes for PHP (Implemented (PHP 5.4)) — https://externals.io/rfc/dtrace.md
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #47597 — David Soria Parra — 2010-03-25T10:24:48+00:00

URL: https://externals.io/message/47597#47597

Hi,

I would like to backport the DTrace patches that were committet to the
latest trunk. This is related to RFC http://wiki.php.net/rfc/dtrace
. If there are no objections I'll commit this within the next weeks.
As DTrace doesn't break BC I think it should be a big deal.

objections?
david

---

## #47598 — Alexey Zakhlestin — 2010-03-25T10:33:06+00:00

URL: https://externals.io/message/47597#47598 · In reply to: #47597

> Hi,
> 
> I would like to backport the DTrace patches that were committet to the
> latest trunk. This is related to RFC http://wiki.php.net/rfc/dtrace
> . If there are no objections I'll commit this within the next weeks.
> As DTrace doesn't break BC I think it should be a big deal.
> 
> objections?

no objections from me.
should be committed :)

---

## #47599 — Hannes Magnusson — 2010-03-25T10:53:26+00:00

URL: https://externals.io/message/47597#47599 · In reply to: #47597

> Hi,
>
> I would like to backport the DTrace patches that were committet to the

+1

-Hannes

---

## #47602 — Kalle Sommer Nielsen — 2010-03-25T13:37:19+00:00

URL: https://externals.io/message/47597#47602 · In reply to: #47597

Hi

2010/3/25 David Soria Parra <dsp@php.net>:
> Hi,
>
> I would like to backport the DTrace patches that were committet to the
> latest trunk. This is related to RFC http://wiki.php.net/rfc/dtrace
> . If there are no objections I'll commit this within the next weeks.
> As DTrace doesn't break BC I think it should be a big deal.

The only thing I remember that should be fixed with the old patch was
that the #include "zend_dtrace.h" didn't have any surrounding #if
HAVE_DTRACE around it which broke the builds on platforms without
DTrace, such as Windows.

Also, what are the status of DTrace support on Windows for this patch?


-- 
regards,

Kalle Sommer Nielsen
kalle@php.net

---

## #47603 — David Soria Parra — 2010-03-25T13:40:50+00:00

URL: https://externals.io/message/47597#47603 · In reply to: #47602

> Hi
>
> 2010/3/25 David Soria Parra <dsp@php.net>:
> > […]
> The only thing I remember that should be fixed with the old patch was
> that the #include "zend_dtrace.h" didn't have any surrounding #if
> HAVE_DTRACE around it which broke the builds on platforms without
> DTrace, such as Windows.
I'll take care

> Also, what are the status of DTrace support on Windows for this patch?

there is no Dtrace on windows therefore we will just disable dtrace on windows.
Dtrace is only available on FreeBSD, Mac OS and Solaris/OpenSolaris.

 -- david

---

## #47738 — johannes@php.net — 2010-04-02T10:42:24+00:00

URL: https://externals.io/message/47597#47738 · In reply to: #47602

> Also, what are the status of DTrace support on Windows for this patch?

DTrace is only available on MacOS, FreeBSD and MacOS. Maybe it can be
made working with SystemTap on Linux, they try to be compatible in their
APIs. Windows has no comparable technology.

johannes
