Hi Mike,

There's no way to do this currently, but it would be a good RFE and an
easy one to implement.

Adam

On Wed, Nov 16, 2005 at 05:52:42PM -0800, Michael E. Corcoran wrote:
> The subject says it all :)
> 
> I wanted to be able to walk the hme hash chains via physical address via:
> 
> *khme_hash::array struct hmehash_bucket 20000 | :: print struct 
> hmehash_bucket hmeh_nextpa | ::grep ".!=0" | ::list -p struct hme_blk 
> hblk_nextpa | :: print -p struct hme_blk
> 
> but ::list -p doesn't work.  I'm tracking down a bug where we dereferenced a 
> bad address while walking through the hash chains, and I currently have no 
> easy way to make sure that the next pa and va match, so I'm stuck assuming 
> that a given pa will correspond to the given va and that I can print out the 
> pa pointers while walking the list using va's.  In general this should work, 
> but if there is data corruption going on, then I can't rely upon this.
> 
> Thanks,
> 
> Mike
> This message posted from opensolaris.org
> _______________________________________________
> mdb-discuss mailing list
> mdb-discuss at opensolaris.org

-- 
Adam Leventhal, Solaris Kernel Development       http://blogs.sun.com/ahl

Reply via email to