diff options
author | Fynn Wulf <fynn_wulf@gmx.de> | 2020-10-09 15:13:06 +0200 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2020-11-26 22:58:34 +0100 |
commit | 7f18b352b0fc010efe5278ce32e01ed715ddd7ee (patch) | |
tree | f2ee381825de72db21ef9c4d9a5b7f210bc76472 /linux/LinuxProcess.c | |
parent | 46a2e8ac63fb758a589a82d4dca60de1aa0c1eb2 (diff) |
Calculate library size (M_LRS column) from maps file
Diffstat (limited to 'linux/LinuxProcess.c')
-rw-r--r-- | linux/LinuxProcess.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/LinuxProcess.c b/linux/LinuxProcess.c index 93d169e3..1dd30426 100644 --- a/linux/LinuxProcess.c +++ b/linux/LinuxProcess.c @@ -73,7 +73,7 @@ ProcessFieldData Process_fields[] = { [M_SHARE] = { .name = "M_SHARE", .title = " SHR ", .description = "Size of the process's shared pages", .flags = 0, }, [M_TRS] = { .name = "M_TRS", .title = " CODE ", .description = "Size of the text segment of the process", .flags = 0, }, [M_DRS] = { .name = "M_DRS", .title = " DATA ", .description = "Size of the data segment plus stack usage of the process", .flags = 0, }, - [M_LRS] = { .name = "M_LRS", .title = " LIB ", .description = "The library size of the process (unused since Linux 2.6; always 0)", .flags = 0, }, + [M_LRS] = { .name = "M_LRS", .title = " LIB ", .description = "The library size of the process (calculated from memory maps)", .flags = PROCESS_FLAG_LINUX_LRS_FIX, }, [M_DT] = { .name = "M_DT", .title = " DIRTY ", .description = "Size of the dirty pages of the process (unused since Linux 2.6; always 0)", .flags = 0, }, [ST_UID] = { .name = "ST_UID", .title = " UID ", .description = "User ID of the process owner", .flags = 0, }, [PERCENT_CPU] = { .name = "PERCENT_CPU", .title = "CPU% ", .description = "Percentage of the CPU time the process used in the last sampling", .flags = 0, }, |