mirror of
https://github.com/RGBCube/serenity
synced 2025-05-15 09:04:59 +00:00
Kernel+SystemMonitor: Show VM region "shared" and "stack" bits in UI
Expose these two region bits through /proc/PID/vm and show them in the SystemMonitor process memory map view.
This commit is contained in:
parent
794758df3a
commit
02f89dc419
2 changed files with 6 additions and 0 deletions
|
@ -22,6 +22,10 @@ ProcessMemoryMapWidget::ProcessMemoryMapWidget(GWidget* parent)
|
|||
builder.append('R');
|
||||
if (object.get("writable").to_bool())
|
||||
builder.append('W');
|
||||
if (object.get("shared").to_bool())
|
||||
builder.append('S');
|
||||
if (object.get("stack").to_bool())
|
||||
builder.append('T');
|
||||
return builder.to_string();
|
||||
});
|
||||
pid_vm_fields.empend("name", "Name", TextAlignment::CenterLeft);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue