mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:38:10 +00:00
Kernel: Expose the VMObject type of each Region in /proc/PID/vm
This commit is contained in:
parent
8fbdda5a2d
commit
5f7056d62c
6 changed files with 11 additions and 0 deletions
|
@ -315,6 +315,7 @@ Optional<KBuffer> procfs$pid_vm(InodeIdentifier identifier)
|
|||
region_object.add("amount_dirty", (u32)region.amount_dirty());
|
||||
region_object.add("cow_pages", region.cow_pages());
|
||||
region_object.add("name", region.name());
|
||||
region_object.add("vmobject", region.vmobject().class_name());
|
||||
|
||||
StringBuilder pagemap_builder;
|
||||
for (size_t i = 0; i < region.page_count(); ++i) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue