From 991e03ba67a32079f7322b6708676e9b3ab2bf12 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Wed, 17 Jul 2019 17:28:31 -0700 Subject: [PATCH] examples: initialize sysprof clock --- examples/app.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/app.c b/examples/app.c index acf64443..bb10ba6f 100644 --- a/examples/app.c +++ b/examples/app.c @@ -23,6 +23,8 @@ main (int argc, { SysprofCaptureWriter *writer; + sysprof_clock_init (); + /* Ignore SIGPIPE because we might get a pipe from the environment and we * don't want to trap if write() is used on it. */