[glib/task-trace: 210/211] gio: Include sysprof tracing support




commit 5b0caa3ae196f8abb94706a037ecf30d825f0a18
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Aug 21 11:49:46 2020 -0400

    gio: Include sysprof tracing support
    
    Include gtrace.c in the sources, so we can
    use the same g_trace_ apis in GIO when sysprof
    support is enabled.

 gio/meson.build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gio/meson.build b/gio/meson.build
index 37af9e438..f79d22053 100644
--- a/gio/meson.build
+++ b/gio/meson.build
@@ -577,6 +577,7 @@ gio_sources = files(
   'gzlibdecompressor.c',
   'glistmodel.c',
   'gliststore.c',
+  '../glib/gtrace.c',
 )
 
 gio_sources += appinfo_sources
@@ -791,7 +792,7 @@ libgio = library('gio-2.0',
   #  '$(gio_win32_res_ldflag)',
   dependencies : [libz_dep, libdl_dep, libmount_dep, libglib_dep,
                   libgobject_dep, libgmodule_dep, selinux_dep, xattr_dep,
-                  platform_deps, network_libs],
+                  platform_deps, network_libs, libsysprof_capture_dep],
   c_args : gio_c_args,
   objc_args : gio_c_args,
   # intl.lib is not compatible with SAFESEH


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]