1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-18 21:25:07 +00:00

CProcessStatisticsReader: Be consistent about terminology from the kernel down

This commit is contained in:
Robin Burchell 2019-07-17 22:22:22 +02:00 committed by Andreas Kling
parent 9724d540b6
commit a9d1a86e6e
7 changed files with 74 additions and 48 deletions

View file

@ -585,6 +585,8 @@ ByteBuffer procfs$all(InodeIdentifier)
InterruptDisabler disabler;
auto processes = Process::all_processes();
JsonArray array;
// Keep this in sync with CProcessStatistics.
auto build_process = [&](const Process& process) {
JsonObject process_object;
process_object.set("pid", process.pid());