Date: Thu, 21 Apr 2011 18:37:24 -0700 From: Chuck Tuffli <ctuffli@gmail.com> To: freebsd-hackers@freebsd.org Subject: no KLD symbols in dtrace? Message-ID: <BANLkTi=iDhVTsdZLrFy6JohSRBexAhWyJA@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
(Note I'm new to DTrace, so this may be ignorance on my part) I have re-built a stock 8.2 kernel and enabled dtrace as per the handbook (including WITH_CTF=1) and have built a kld also using WITH_CTF=1. When I run the following dtrace -n"bus_release_resource:entry { stack(); }" the output looks like ... 0 33759 bus_release_resource:entry 0xffffffff813db04e 0xffffffff813db091 kernel`device_detach+0x84 kernel`driver_module_handler+0x37c kernel`module_unload+0x49 kernel`linker_file_unload+0x178 kernel`kern_kldunload+0x117 kernel`syscallenter+0x23d kernel`syscall+0x4b kernel`0xffffffff808c5572 where the 0xffffffff813dbXXX addresses correspond to my kld. But I was expecting to see symbolic names instead of addresses. Is there something else I need to do to add the kld's symbols to the system? TIA. ---chuck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTi=iDhVTsdZLrFy6JohSRBexAhWyJA>