Add missing fetch of virtual size for Mach
authorClément Stenac <clement.stenac@diwi.org>
Sat, 27 Feb 2010 21:16:58 +0000 (22:16 +0100)
committerClément Stenac <clement.stenac@diwi.org>
Sat, 27 Feb 2010 21:16:58 +0000 (22:16 +0100)
src/processes.c

index e37e566..8853660 100644 (file)
@@ -1302,6 +1302,7 @@ static int ps_read (void)
                                }
 
                                pse.num_proc++;
+                               pse.vmem_size = task_basic_info.virtual_size;
                                pse.vmem_rss = task_basic_info.resident_size;
                                /* Does not seem to be easily exposed */
                                pse.vmem_data = 0;