Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
contrib/vmallocinfo: add scripts to dump vmallocinfo
Sample output: python3 drgn -s vmlinux -c vmcore contrib/vmallocinfo.py 0xffff800080000000-0xffff800080005000 20480 start_kernel pages=4 vmalloc 0xffff800080005000-0xffff800080007000 8192 ioremap_prot phys=0x8020000 ioremap 0xffff800080008000-0xffff80008000d000 20480 start_kernel pages=4 vmalloc 0xffff80008000d000-0xffff80008000f000 8192 bpf_prog_alloc_no_stats pages=1 vmalloc 0xffff800082a00000-0xffff8000833d1000 10293248 paging_init phys=0x42c00000 vmap 0xffff800083400000-0xffff800083405000 20480 start_kernel pages=4 vmalloc 0xffff800083405000-0xffff800083408000 12288 pcpu_mem_zalloc pages=2 vmalloc 0xffff800083408000-0xffff80008340d000 20480 kernel_clone pages=4 vmalloc 0xffff80008340d000-0xffff80008340f000 8192 ioremap_prot phys=0x9030000 ioremap 0xffff800083480000-0xffff800083485000 20480 kernel_clone pages=4 vmalloc 0xffff800083488000-0xffff80008348d000 20480 kernel_clone pages=4 vmalloc 0xffff800083500000-0xffff800083505000 20480 fork_idle pages=4 vmalloc ... Signed-off-by: Kuan-Ying Lee <[email protected]>
- Loading branch information