mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 10:48:41 +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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user