On Fri, 2012-06-29 at 11:47 -0700, Adi Mutu wrote:
> Sorry for the late reply, I was away for a while......
> I don't think I have dtrace because I'm on fedora.....but i'll
> research.

As said: Currently only on Solaris, MacOS and BSD. Oracle is porting
DTrace to Oracle Linux. RedHat created SystemTap which is similar, ut I
have never used it.

> If i would want to set a breakpoint after php's initialization
> process, but right before the scripts execution, so that after that I
> can set breakpoints to emalloc and efree which are executed only
> during my scripts execution where should i set it? Hope the question
> was clear enough.....

Depends on your view what "initialization" is. But execute() might be a
place which helps ... but even then you will see many things you're
probably not interested in. Only thing that helps is learning the code
structure and digging through it.

> dtrace related:
> Why have you used 'execute:return' and not concat_function:return?
> What's with the execute function?

That was a bug since I quickly edited an older script. In this case it
doesn't change the result.

johannes



-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to