On Fri, Apr 22, 2011 at 8:44 AM, Andriy Gapon <[email protected]> wrote:
> on 22/04/2011 18:24 Alexander Kabaev said the following:
>> Do ctfdump -tf on your kld and verify that what it outputs actually
>> makes sense. Do kldload and see if fbt provider knows about your module
>> and functions. There is nothing else special that I can think off.
The ctfdump looks correct and
dtrace -ln "fbt::ocs_*:"
shows the kld's function names
>> Maybe make sure that you compile your sources with -g in the first
>> place? DWARF debug info is what CTF generation utils use to figure out
>> types and function prototypes.
OK
> Also, dtrace process needs to access the module file for address-to-name
> translation.
Hmm ... I'm building this module out of tree. Where does dtrace look
for modules?
---chuck
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[email protected]"