Kuan-Ying Lee
852622bf36
scripts/gdb/vmalloc: add vmallocinfo support
This GDB script shows the vmallocinfo for user to
analyze the vmalloc memory usage.
Example output:
0xffff800008000000-0xffff800008009000 36864 <start_kernel+372> pages=8 vmalloc
0xffff800008009000-0xffff80000800b000 8192 <gicv2m_init_one+400> phys=0x8020000 ioremap
0xffff80000800b000-0xffff80000800d000 8192 <bpf_prog_alloc_no_stats+72> pages=1 vmalloc
0xffff80000800d000-0xffff80000800f000 8192 <bpf_jit_alloc_exec+16> pages=1 vmalloc
0xffff800008010000-0xffff80000ad30000 47316992 <paging_init+452> phys=0x40210000 vmap
0xffff80000ad30000-0xffff80000c1c0000 21561344 <paging_init+556> phys=0x42f30000 vmap
0xffff80000c1c0000-0xffff80000c370000 1769472 <paging_init+592> phys=0x443c0000 vmap
0xffff80000c370000-0xffff80000de90000 28442624 <paging_init+692> phys=0x44570000 vmap
0xffff80000de90000-0xffff80000f4c1000 23269376 <paging_init+788> phys=0x46090000 vmap
0xffff80000f4c1000-0xffff80000f4c3000 8192 <gen_pool_add_owner+112> pages=1 vmalloc
0xffff80000f4c3000-0xffff80000f4c5000 8192 <gen_pool_add_owner+112> pages=1 vmalloc
0xffff80000f4c5000-0xffff80000f4c7000 8192 <gen_pool_add_owner+112> pages=1 vmalloc
Link: https://lkml.kernel.org/r/20230808083020.22254-9-Kuan-Ying.Lee@mediatek.com
Signed-off-by: Kuan-Ying Lee <Kuan-Ying.Lee@mediatek.com>
Cc: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Cc: Chinwen Chang <chinwen.chang@mediatek.com>
Cc: Matthias Brugger <matthias.bgg@gmail.com>
Cc: Qun-Wei Lin <qun-wei.lin@mediatek.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2023-08-21 13:46:23 -07:00
..
2023-06-16 16:46:30 +02:00
2023-06-22 21:21:06 +09:00
2023-07-23 22:36:07 +09:00
2023-07-29 11:05:31 -04:00
2023-03-27 22:45:22 +02:00
2023-08-21 13:46:23 -07:00
2023-07-12 23:46:57 +09:00
2023-07-01 09:24:31 -07:00
2023-06-27 08:31:27 +09:00
2023-02-18 14:34:09 -05:00
2023-03-16 22:46:12 +09:00
2023-04-21 08:58:00 -07:00
2023-02-02 22:50:03 -08:00
2023-04-11 17:45:57 +02:00
2023-04-24 10:18:32 -07:00
2023-03-16 22:46:12 +09:00
2023-05-23 21:43:26 -07:00
2023-08-21 13:46:21 -07:00
2023-03-23 10:02:02 +01:00
2023-03-23 17:18:32 -07:00
2023-02-25 20:11:06 +01:00
2023-02-08 13:33:29 +01:00
2023-02-21 16:53:54 -08:00
2023-04-07 00:53:34 +02:00
2023-06-19 13:19:32 -07:00
2023-06-15 14:04:19 +10:00
2023-08-18 10:18:50 -07:00
2023-04-19 19:28:49 +02:00
2023-07-12 15:39:34 -07:00
2023-07-06 22:15:38 -07:00
2023-03-29 06:52:08 -04:00
2023-04-30 11:32:53 -07:00
2023-03-16 22:46:12 +09:00
2023-07-24 03:15:31 +09:00
2023-07-01 09:24:31 -07:00
2023-06-25 23:12:20 +09:00
2023-07-01 09:24:31 -07:00
2023-02-13 20:18:28 +01:00
2023-06-21 07:51:08 -06:00
2023-07-24 03:15:31 +09:00
2023-04-18 16:29:43 -07:00
2023-05-22 10:34:37 +09:00
2023-06-25 23:12:20 +09:00
2023-02-23 14:05:08 -08:00
2023-06-22 21:21:06 +09:00
2023-04-30 11:32:53 -07:00
2023-05-16 13:57:14 -07:00
2023-06-25 23:12:20 +09:00
2023-07-03 18:56:03 +02:00
2023-06-27 08:35:43 +09:00
2023-04-14 16:08:28 +02:00
2023-06-16 17:17:42 +02:00
2023-05-12 11:47:05 -07:00
2023-04-25 21:10:20 -04:00
2023-04-19 07:46:31 -07:00
2023-06-22 21:21:06 +09:00
2023-03-16 22:46:12 +09:00
2023-03-23 23:18:58 +01:00
2023-07-27 13:07:04 -07:00
2023-07-03 12:46:47 -07:00
2023-04-17 11:23:06 +09:00