On Mon, Mar 09, 2009 at 08:56:43PM +0100, max at bruningsystems.com wrote:
> Hi Jonathon,
> 
> Jonathan Adams wrote:
> >On Mon, Mar 09, 2009 at 09:08:51AM +0100, max at bruningsystems.com wrote:
> >  
> >>
> >>>::walk kmem -n kmem_alloc_8192
> >>>      
> >
> >My proposed walker doesn't actually have a '-n' argument;  it seems 
> >redundant
> >given the "::walk kmem_alloc_8192" walker.
> >
> >  
> I based the "-n" argument on these lines in the new kmem.c
> 
> 338 kmem_cache_help(void)
> 339 {
> 340         static const mdb_help_def_t options[] = {
> 341                 { "-n name", "Name of kmem cache (or partial name 
> to match)." },
> 342                 { NULL, NULL }
> 343         };
> 
> So this is only for ::help kmem_cache ?

Yeah;  look at "kmem_walk_help()" in the same file; that's the help function
for ::walk kmem and all of the ::walk cache_name walkers.

Cheers,
- jonathan


Reply via email to