no KLD symbols in dtrace?

Andriy Gapon avg at FreeBSD.org
Fri Apr 22 15:44:36 UTC 2011


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.
> 
> 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.

Also, dtrace process needs to access the module file for address-to-name translation.

-- 
Andriy Gapon


More information about the freebsd-hackers mailing list