Thanks to Alex, James and Jonathan for replying. A follow-up question : Now that I know the module name that defines a symbol, how do I find what's the path to the kernel module on the root filesystem?
eg, > dsl_prop_set_sync::nm -f obj,name Object Name zfs |dsl_prop_set_sync > Now there are many zfs modules under sub-directories of /kernel. Which one has been loaded into memory, that is being shown in the mdb output above? I browsed the "::nm" usage in mdb, looked at the ":dcmds" list to see if there is anything useful, and looked at the "modinfo" man page as well, but didn't get a solution. I am looking for a command (inside or outside mdb) to get this info. Thanks & Regards, Sambit PS : Jonathan too gave his solution, but I don't see that reply on the web-view of this thread, so I will paste here his reply for everyone's benefit :) : ****** On Thu, Mar 19, 2009 at 09:36:19AM -0700, Alexandre Chartre wrote: > > You can use ::nm -f obj,name > > For example: > > > ::nm -f obj,name ! grep dsl_prop_set_sync > zfs |dsl_prop_set_sync > > or even: > dsl_prop_set_sync::nm -f obj,name Object Name zfs |dsl_prop_set_sync > Cheers, - jonathan ****** -- This message posted from opensolaris.org