dtrace, profile and ustack
dtrace, profile and ustack
- Subject: dtrace, profile and ustack
- From: Joel Reymont <email@hidden>
- Date: Tue, 25 Aug 2009 00:02:54 +0100
I get a bunch of memory access errors when trying to run my script, e.g.
dtrace: script 'high.d' matched 2 probes
dtrace: allowing destructive actions
dtrace: error on enabled probe ID 1 (ID 36: profile:::profile-997):
invalid address (0xbffff7c8) in action #2
dtrace: error on enabled probe ID 1 (ID 36: profile:::profile-997):
invalid address (0xbfffca28) in action #2
dtrace: error on enabled probe ID 1 (ID 36: profile:::profile-997):
invalid address (0xbfffcb58) in action #2
The script is trying to determine the hot paths through initialization
of firefox (up to main), e.g.
profile-997
/pid == $target/
{
@[ustack()] = count()
}
/* stop tracing here */
pid$target:XUL:XRE_main:entry
{
exit(0);
}
END
{
trunc(@, 25)
}
Any suggestions on how to avoid the non-paged memory errors above?
Thanks, Joel
---
fastest mac firefox!
http://wagerlabs.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden