Hi Jonathon, Jonathan Adams wrote: > On Sun, Mar 08, 2009 at 05:37:32PM -0700, Jonathan Adams wrote: > >> Hi everyone, >> >> I've been working on a wad started by Eric Schrock a couple years ago to >> add type information to MDB pipelines. It has blossomed into a fairly big >> modification of the MDB module API, and I'd like to get some community review >> before I put this back. >> >> I took a look at some of the changes, and the arc case materials and this looks great. I have a question about arguments to walkers. You specifically show using arguments with kmem related walkers. So, this will allow me to do:
> ::walk kmem -n kmem_alloc_8192 or > ::walk kmem_alloc_8192 or > address::walk kmem Where address is the address of the kmem_alloc_8192 cache from the ::kmem_cache command. I expect all 3 of the above to give the same output. Or, is this different? Has the same thing been done for the various zio_buf walkers (I can't find these walkers in the source code), the ire walkers, others? Also, in the above, I should be able to: > walk kmem_alloc_8192 | ::print and it will automatically know to print out a kmem_cache_t (or whatever)? Can I do this: ::pgrep foo | ::print p_as | ::walk seg | ::print s_data (as another example)? From my understanding of the arc materials, I should be able to do the above, or am I missing something? thanks, max