From d306ba08fd47bfafdb752bcd7d9502f849f73077 Mon Sep 17 00:00:00 2001 From: Wojciech Zygmunt Porczyk Date: Thu, 24 Apr 2014 21:28:12 +0000 Subject: [PATCH] Profiling changed example --- Profiling.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Profiling.md b/Profiling.md index 5308be72..f66b4478 100644 --- a/Profiling.md +++ b/Profiling.md @@ -81,3 +81,12 @@ This creates `index.html` with all SVG graphics linked to TXT files. Ready for u ``` {.wiki} make REMOTE=example.com:public_html/qubes/profiling/ upload ``` + +Example +------- + +This example is from `qubes-manager` (`qubesmanager/main.py`). + +[![No image "update\_table-20140424-170010.svg" attached to Profiling](/chrome/common/attachment.png "No image "update_table-20140424-170010.svg" attached to Profiling")](/attachment/wiki/Profiling/update_table-20140424-170010.svg) + +It is apparent than problem is around `get_disk_usage` which calls something via `subprocess.call`. It does it 15 times, probably once per VM.