4276 /* from hotplug.c */
4277 { "hotplug", "?[-p]", "display a registered hotplug attachment",
4278 hotplug, hotplug_help },
4279
4280 /* from irm.c */
4281 { "irmpools", NULL, "display interrupt pools", irmpools_dcmd },
4282 { "irmreqs", NULL, "display interrupt requests in an interrupt pool",
4283 irmreqs_dcmd },
4284 { "irmreq", NULL, "display an interrupt request", irmreq_dcmd },
4285
4286 /* from kgrep.c + genunix.c */
4287 { "kgrep", KGREP_USAGE, "search kernel as for a pointer", kgrep,
4288 kgrep_help },
4289
4290 /* from kmem.c */
4291 { "allocdby", ":", "given a thread, print its allocated buffers",
4292 allocdby },
4293 { "bufctl", ":[-vh] [-a addr] [-c caller] [-e earliest] [-l latest] "
4294 "[-t thd]", "print or filter a bufctl", bufctl, bufctl_help },
4295 { "freedby", ":", "given a thread, print its freed buffers", freedby },
4296 { "kmalog", "?[ fail | slab ]",
4297 "display kmem transaction log and stack traces", kmalog },
4298 { "kmastat", "[-kmg]", "kernel memory allocator stats",
4299 kmastat },
4300 { "kmausers", "?[-ef] [cache ...]", "current medium and large users "
4301 "of the kmem allocator", kmausers, kmausers_help },
4302 { "kmem_cache", "?[-n name]",
4303 "print kernel memory caches", kmem_cache, kmem_cache_help},
4304 { "kmem_slabs", "?[-v] [-n cache] [-N cache] [-b maxbins] "
4305 "[-B minbinsize]", "display slab usage per kmem cache",
4306 kmem_slabs, kmem_slabs_help },
4307 { "kmem_debug", NULL, "toggle kmem dcmd/walk debugging", kmem_debug },
4308 { "kmem_log", "?[-b]", "dump kmem transaction log", kmem_log },
4309 { "kmem_verify", "?", "check integrity of kmem-managed memory",
4310 kmem_verify },
4311 { "vmem", "?", "print a vmem_t", vmem },
4312 { "vmem_seg", ":[-sv] [-c caller] [-e earliest] [-l latest] "
4313 "[-m minsize] [-M maxsize] [-t thread] [-T type]",
4314 "print or filter a vmem_seg", vmem_seg, vmem_seg_help },
4315 { "whatthread", ":[-v]", "print threads whose stack contains the "
4316 "given address", whatthread },
4317
|
4276 /* from hotplug.c */
4277 { "hotplug", "?[-p]", "display a registered hotplug attachment",
4278 hotplug, hotplug_help },
4279
4280 /* from irm.c */
4281 { "irmpools", NULL, "display interrupt pools", irmpools_dcmd },
4282 { "irmreqs", NULL, "display interrupt requests in an interrupt pool",
4283 irmreqs_dcmd },
4284 { "irmreq", NULL, "display an interrupt request", irmreq_dcmd },
4285
4286 /* from kgrep.c + genunix.c */
4287 { "kgrep", KGREP_USAGE, "search kernel as for a pointer", kgrep,
4288 kgrep_help },
4289
4290 /* from kmem.c */
4291 { "allocdby", ":", "given a thread, print its allocated buffers",
4292 allocdby },
4293 { "bufctl", ":[-vh] [-a addr] [-c caller] [-e earliest] [-l latest] "
4294 "[-t thd]", "print or filter a bufctl", bufctl, bufctl_help },
4295 { "freedby", ":", "given a thread, print its freed buffers", freedby },
4296 { "kmalog", "?[ fail | slab | zerosized ]",
4297 "display kmem transaction log and stack traces for specified type",
4298 kmalog },
4299 { "kmastat", "[-kmg]", "kernel memory allocator stats",
4300 kmastat },
4301 { "kmausers", "?[-ef] [cache ...]", "current medium and large users "
4302 "of the kmem allocator", kmausers, kmausers_help },
4303 { "kmem_cache", "?[-n name]",
4304 "print kernel memory caches", kmem_cache, kmem_cache_help},
4305 { "kmem_slabs", "?[-v] [-n cache] [-N cache] [-b maxbins] "
4306 "[-B minbinsize]", "display slab usage per kmem cache",
4307 kmem_slabs, kmem_slabs_help },
4308 { "kmem_debug", NULL, "toggle kmem dcmd/walk debugging", kmem_debug },
4309 { "kmem_log", "?[-b]", "dump kmem transaction log", kmem_log },
4310 { "kmem_verify", "?", "check integrity of kmem-managed memory",
4311 kmem_verify },
4312 { "vmem", "?", "print a vmem_t", vmem },
4313 { "vmem_seg", ":[-sv] [-c caller] [-e earliest] [-l latest] "
4314 "[-m minsize] [-M maxsize] [-t thread] [-T type]",
4315 "print or filter a vmem_seg", vmem_seg, vmem_seg_help },
4316 { "whatthread", ":[-v]", "print threads whose stack contains the "
4317 "given address", whatthread },
4318
|