[Libreoffice-commits] online.git: Branch 'private/hcvcastro/forking' - loolwsd/loolmap.c

Henry Castro hcastro at collabora.com
Tue Sep 8 13:15:48 PDT 2015


 loolwsd/loolmap.c |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

New commits:
commit ae79d896d536c4b5c6e2b07613b87b762575e7a3
Author: Henry Castro <hcastro at collabora.com>
Date:   Tue Sep 8 16:15:28 2015 -0400

    loolwsd: update loolmap for preinit

diff --git a/loolwsd/loolmap.c b/loolwsd/loolmap.c
index 4debdd4..8397537 100644
--- a/loolwsd/loolmap.c
+++ b/loolwsd/loolmap.c
@@ -122,9 +122,12 @@ static void total_smaps(unsigned proc_id, const char *file, const char *cmdline)
   printf("Process ID    :%20ld\n", proc_id);
   printf("--------------------------------------\n");
   printf("Shared Clean  :%20ld kB\n", total_shared_clean);
-  printf("Shared Diry   :%20ld kB\n", total_shared_dirty);
+  printf("Shared Dirty  :%20ld kB\n", total_shared_dirty);
   printf("Private Clean :%20ld kB\n", total_private_clean);
-  printf("Private Diry  :%20ld kB\n\n", total_private_dirty);
+  printf("Private Dirty :%20ld kB\n", total_private_dirty);
+  printf("--------------------------------------\n");
+  printf("Shared        :%20ld kB\n", total_shared_clean + total_shared_dirty);
+  printf("Private       :%20ld kB\n\n", total_private_clean + total_private_dirty);
 }
 
 int main(int argc, char **argv)


More information about the Libreoffice-commits mailing list