[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/47951: modstat(8) can't display load address
>Synopsis: modstat(8) has no option to display load address
>Arrival-Date: Fri Jun 21 18:30:00 +0000 2013
>Originator: Jeff Rizzo
>Release: NetBSD 6.99.21
System: NetBSD slash.lan 6.99.21 NetBSD 6.99.21 (DTRACE) #23: Sun Jun 16
22:36:30 PDT 2013
The modstat(8) command should be able to display the address
at which a kernel module is loaded.
Want to find the load address for a module. Note that modstat(8)
can't do it, even though it has all the information.
This is a SMOP, as in sbin/modstat/main.c, the information
is already retrieved from the kernel (ms->ms_addr) - it just
needs to be displayed. It's probably not needed by default,
but maybe an option flag?
I started in on some actual code for this, and realized I
don't have time to make it look nice enough, but it should
be easy enough for someone with a few minutes at hand.
Main Index |
Thread Index |