• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
dtrace, profile and ustack
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: dtrace, profile and ustack
      • From: Eric Gouriou <email@hidden>
  • Prev by Date: Re: snow leopard available, but can it still run PPC apps?
  • Next by Date: Re: dtrace, profile and ustack
  • Previous by thread: Re: snow leopard available, but can it still run PPC apps?
  • Next by thread: Re: dtrace, profile and ustack
  • Index(es):
    • Date
    • Thread