[osol-discuss] Re: Shipping "lsof" with Solaris ? / was: Re: problem with /t

Casper.Dik at Sun.COM Casper.Dik at Sun.COM
Mon Jan 8 13:47:16 PST 2007


>It occurred to me that we might be able to leverage the CTF
>information that mdb uses to decode structures in the kernel.
>Unfortunately, last I looked, the CTF lookup code in mdb was not a
>public interface, so I'm not sure we can go there at this point.  But
>if we could, then we could use CTF to look up the structure definition
>and avoid recompiling lsof (or some similar program).

For some things, such as computing offsets in structures, CTF
data is a possible source.

For other things, such as complete rewrites of how the kernel works in
certain areas, of which we see several each OS release, it would not
work.

Casper



More information about the opensolaris-discuss mailing list