From 9e8c4dba540ac00561e32aaf956d8db3b0b316b6 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Fri, 9 Jun 2023 16:35:25 -0700 Subject: [PATCH] libsysprof-profile: init sysprof clock --- src/libsysprof-profile/tests/test-profiler.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libsysprof-profile/tests/test-profiler.c b/src/libsysprof-profile/tests/test-profiler.c index a4554552..09861302 100644 --- a/src/libsysprof-profile/tests/test-profiler.c +++ b/src/libsysprof-profile/tests/test-profiler.c @@ -105,6 +105,8 @@ main (int argc, g_autofd int trace_fd = -1; int argv_copy_len = 0; + sysprof_clock_init (); + main_loop = g_main_loop_new (NULL, FALSE); argv_copy = g_new0 (char *, argc+1);