-
richlowedo any of you have the mdb ::grep ... ::eval trick in your muscle memory? because I don't have it in any kind of memory
-
richlowefor filtering a ::walk based on the value of a structure member but keeping . being the struct
-
richlowe::walk page | <magic I have forgotten that checks pp->p_state & P_BOOTPAGES> | ::print page_t
-
andyfI think you need the second argument to `::walk`
-
andyffound this in my notes at least
-
andyf[1]> fffff788122c3990::print elf_core_ctx_t ecc_p->p_as | ::print struct as a_segtree | ::walk avl a | ::print struct seg s_ops | ::grep '.==fffffffffc2cf0a0' | ::eval '<a::print struct seg s_base'
-
richlowethat looks like it!
-
richlowethanks andy
-
richloweyes, that worked great (except I forgot how long `::walk page` can take on real systems)
-
andyfYou can thank jclulow for teaching me that :)
-
gitomat[illumos-gate] 17988 libnvme doesn't dword align variable length log pages -- Robert Mustacchi <rm⊙fo>