mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
src: ensure tools initialize libdex and sysprof clock
This commit is contained in:
@ -465,6 +465,7 @@ main (int argc,
|
||||
g_autoptr(GOptionContext) context = NULL;
|
||||
g_autoptr(GError) error = NULL;
|
||||
|
||||
sysprof_clock_init ();
|
||||
dex_init ();
|
||||
|
||||
g_set_prgname ("sysprof-cat");
|
||||
|
||||
@ -30,6 +30,7 @@
|
||||
#include <glib/gi18n.h>
|
||||
#include <glib/gstdio.h>
|
||||
|
||||
#include <libdex.h>
|
||||
#include <sysprof.h>
|
||||
|
||||
#if HAVE_POLKIT_AGENT
|
||||
@ -349,6 +350,7 @@ main (int argc,
|
||||
};
|
||||
|
||||
sysprof_clock_init ();
|
||||
dex_init ();
|
||||
|
||||
g_unix_signal_add (SIGINT, sigint_handler, main_loop);
|
||||
g_unix_signal_add (SIGTERM, sigint_handler, main_loop);
|
||||
|
||||
@ -268,6 +268,7 @@ main (int argc,
|
||||
g_autoptr(GError) error = NULL;
|
||||
const char *copy[3];
|
||||
|
||||
sysprof_clock_init ();
|
||||
dex_init ();
|
||||
|
||||
g_set_prgname ("sysprof-diff");
|
||||
|
||||
Reference in New Issue
Block a user