trace2: refactor setting process starting time
[gitweb.git] / common-main.c
index d484aec20979ac9a1ea6d49b166f51436a24dfad..6137af0e63cdc0addbeb2e9a4e231f0a6a279944 100644 (file)
@@ -27,6 +27,8 @@ int main(int argc, const char **argv)
 {
        int result;
 
+       trace2_initialize_clock();
+
        /*
         * Always open file descriptors 0/1/2 to avoid clobbering files
         * in die().  It also avoids messing up when the pipes are dup'ed