Dtrace is disabled in PHP8.3 package
Until PHP 8.1.2-1ubuntu2.19 in 22.04 Jammy, Dtrace option is enables like below:
$ php -i|grep -i dtrace
DTrace Support => available, disabled
I have noticed PHP8.3 package(
$ php -i |grep -i dtrace
DTrace Support => disabled
That means, we can't use any USDT probe point without recompiling PHP by ourselves.
I think it is not an actual bug though, dtrace should be enabled for users who want to trace their applications using this probe points with eBPF etc.
The overhead for tracing is negligible since just enabling dtrace doesn't change code path in PHP unless USE_ZEND_DTRACE environment variable specified.
So I believe re-enabling dtrace could make better futures for PHP users and want to suggest it for upcoming PHP packages, too.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu php8.3 Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Sohei Iwahori
- Solved:
- Last query:
- Last reply: