dtrace, profile and ustack
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com I get a bunch of memory access errors when trying to run my script, 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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... 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. This email sent to site_archiver@lists.apple.com
participants (1)
-
Joel Reymont