Project

General

Profile

Bug #6767

dtrace probes in php

Added by Sergey Avseyev over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
PKG (Image Packaging System)
Target version:
-
Start date:
2016-03-19
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

It seems like binary from the repository does not define probes for php:

sudo dtrace -l  | grep php

It does not output anything. It seems like --enable-dtrace was passed to the build script (https://github.com/php/php-src/blob/php-5.6.19/configure.in#L970-L987)

$ php --version
PHP 5.6.19 (cli) (built: Mar  5 2016 03:02:05) 
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
$ php -i | grep configure
Configure Command =>  '/jenkins/jobs/oi-userland/workspace/components/web/php/php-5_6/php-5.6.19/configure'  '--prefix=/usr/php/5.6' '--includedir=/usr/php/5.6/include' '--sysconfdir=/etc/php/5.6' '--datadir=/var/php/5.6' '--mandir=/usr/php/5.6/share/man' '--localstatedir=/var/php/5.6' '--enable-fpm' '--with-config-file-path=/etc/php/5.6' '--with-config-file-scan-dir=/etc/php/5.6/conf.d' '--with-pear=/usr/php/5.6/share/PEAR' '--with-layout=PHP' '--with-zend-vm=CALL' '--with-cdb' '--with-kerberos' '--with-pcre-regex' '--with-gettext=shared' '--with-xmlrpc=shared' '--with-gd=shared' '--with-zlib=shared' '--with-openssl=shared' '--with-pdo-sqlite=shared' '--with-ldap=shared' '--with-bz2=shared' '--with-iconv=shared' '--with-tidy=shared' '--with-mhash=shared' '--with-mcrypt=shared' '--with-xsl=shared' '--with-curl=shared' '--with-readline=shared' '--with-pspell=shared' '--with-imap=shared' '--with-imap-ssl' '--with-jpeg-dir=/usr' '--disable-static' '--disable-dba' '--disable-debug' '--disable-libgcc' '--enable-dtrace' '--without-dbm' '--without-t1lib' '--enable-cli' '--enable-cgi' '--enable-shared' '--enable-filter' '--enable-gd-jis-conv' '--enable-short-tags' '--enable-pcntl' '--enable-shmop' '--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm' '--enable-simplexml' '--enable-hash' '--enable-session' '--enable-opcache' '--enable-bcmath=shared' '--enable-json=shared' '--enable-libxml=shared' '--enable-ctype=shared' '--enable-calendar=shared' '--enable-tokenizer=shared' '--enable-exif=shared' '--enable-dom=shared' '--enable-ftp=shared' '--enable-intl=shared' '--enable-pdo=shared' '--enable-mbstring=shared' '--enable-xmlreader=shared' '--enable-xmlwriter=shared' '--enable-soap=shared' '--enable-sockets=shared' '--enable-wddx=shared' '--enable-zip=shared' '--bindir=/usr/php/5.6/bin' '--sbindir=/usr/php/5.6/bin' '--libdir=/usr/php/5.6/lib' '--libexecdir=/usr/php/5.6/libexec' '--with-apxs2=/usr/apache2/2.2/bin/apxs' 'CC=/usr/gcc/4.9/bin/gcc' 'CFLAGS=-m32 '-D_POSIX_PTHREAD_SEMANTICS'' 'LDFLAGS=-m32' 'CPPFLAGS=-I/usr/include/openldap' 'CXX=/usr/gcc/4.9/bin/g++' 'CXXFLAGS= '-m32''

History

#1

Updated by Sergey Avseyev over 4 years ago

I think this ticket should be closed, because I didn't run any php process at the moment of the drace -l, so it works as expected

#2

Updated by Alexander Pyhalov over 4 years ago

  • Status changed from New to Closed

Also available in: Atom PDF