Re: dtrace on kexts?
Re: dtrace on kexts?
- Subject: Re: dtrace on kexts?
- From: Terry Lambert <email@hidden>
- Date: Wed, 4 Mar 2009 14:17:36 -0800
Sun deals with this by compiling everything in the same CTF space in
order to ensure the type format data is there; they get away with this
by compiling everything at once.
The problem with doing this for Mac OS X for third part KEXTs at this
time is that the type information is by ordinal value of the type
definition as culled from the Dwarf debugging information, and it's a
flat ordinal space. This gives you two choices (both of which have
been discussed in detail with the Sun folks) of either duplicating the
type information and treating it as a separate per-KEXT tuple space,
or trying to find some way of having sub-spaces that are then used
only for per-KEXT information.
For right now, with the video drivers in there, there's simply not
enough KVA for a duplicated space in a 32 bit kernel.
The profile provider will definitely give you the EIP/RIP at the time
the profile probe fires, but translating that back into symbols will
take a debugger.
-- Terry
On Mar 4, 2009, at 12:55 PM, mm w wrote:
Little Andrew , I think Big Andrew is not working at/on "this time"
but on the next time
Cheers!
On Wed, Mar 4, 2009 at 12:34 PM, Andrew Myrick <email@hidden>
wrote:
Dtrace in kexts is not supported at this time.
-Andrew
On Mar 4, 2009, at 12:24 PM, Andrew Gallatin wrote:
Is there any way to use fbt tracing on kexts? I see my kext
functions show up (without meaningful symbols, just addresses) when
when using the profile provider, so I know that dtrace can "sort of"
see them.
Is there a ctfconvert / ctfmerge someplace that I can use to make
my kext visible to dtrace?
Thanks,
Drew
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
--
-mmw
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden