[Vm-dev] [ANN] DTrace for Squeak/Pharo
adi at netstyle.ch
Wed May 12 06:34:58 UTC 2010
DTrace on my unix VM thinks it does not know ioShowDisplayOnWindow (I guess because I use X11 display). With a Mac VM I it works. To trace ioShowDisplayOnWindow you don't need a dedicated probe (and hence no specialized VM). The DTrace "pid" provider allows you to trace any function entry (and return):
printf("%s'%s\n", probemod, probefunc);
On May 11, 2010, at 19:03 , John M McIntosh wrote:
> Ah, nice, yes very nice.
> One interesting one to have a probe for would be ioShowDisplayOnWindow so one can understand how much screen drawing goes on.
> On 2010-05-11, at 12:13 AM, Adrian Lienhard wrote:
>> Now there's also a DTrace provider for the Squeak VM:
>> DTrace is a powerful, kernel-based dynamic tracing framework. With the new provider one can analyze the execution of Pharo/Squeak applications.
>> My post is an introduction that should get you quickly started. I've attached a pre-compiled VM for OS X.
>> Hope you like it :)
> John M. McIntosh <johnmci at smalltalkconsulting.com> Twitter: squeaker68882
> Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
More information about the Vm-dev